Score:1

Problem with excluding in zip from root

np flag

I have a problem with excluding directories from root (/). Other directories are ok. I do not know why.

zip -vry1 root.zip / -x "dev/*" -x "proc/*"

Still includes directories /dev and /proc.

When using on non-root directory, it was ok.

zip -vry1 var.zip /var -x "var/www/*"

This excludes whole /var/www directory.

Can someone help me with this root problem? I tried "dev", "/dev/*", "/dev/", but it is still don't work.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.