Let have a directory with lots of individual
.txt files. My purpose is to find the individual files in the directory, zip them with the same name (excluding .txt) individually and remove the original file.
It is very easy to use
gzip like below:
find .* -type f | xargs gzip
but I need to zip the files instead.
NOTE: I do not have sudo privilege