Looping Over Files In Zsh

comments edit

In order to loop over all the files in a given directory and run a different command on each of them in zsh:

for file in ~/folder/*; gpg $file

Comments