advanced code snippet search
kynatro on 04/27/12
command backup line gzip terminal
1 person have marked this snippet as a favorite
Quick backup script to output all folders in a location to their own gzip files.
for f in $(ls -d *); do gzip -cr $f > $f.gz; done;
Report this snippet
You need to login to post a comment.