Score:0

Zip a directory excluding files/folder that do not belong to the current user

in flag

I would like to zip a directory but only include files and folders that belong to the current user.

Score:1
cn flag

You can do that from the command line by using find to select the files belonging to the current user, and feeding the result to the zip command using the -@ option. Something along the lines of:

find /directory/to/zip -type f -user $USER -print | zip -@ result.zip

(untested)

I sit in a Tesla and translated this thread with Ai:

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.