Hello, I am trying to use the following shell script to zip every folder inside of my main folder named "fonts". Currently it zips the whole fonts folder and not just the folders inside of it. I would like it to zip the folders inside of it individually also.
ls -d /Users/*/Desktop/fonts | sed 's/^/"/;s/$/"/' | xargs -I {} -n1 zip -r {}.zip {}
Thanks, Flashuni
ls -d /Users/*/Desktop/fonts | sed 's/^/"/;s/$/"/' | xargs -I {} -n1 zip -r {}.zip {}
Thanks, Flashuni