All Questions
1
question
7
votes
1
answer
3k
views
Why does `zip` in a for loop work when the file exists, but not when it doesn't?
I have a directory that contains several sub-directories. There is a question about zipping the files that contains an answer that I ever-so-slightly modified for my needs.
for i in */; do zip "zips/...