/ Published in: Bash
Quick backup script to output all folders in a location to their own gzip files.
Expand |
Embed | Plain Text
for f in $(ls -d *); do gzip -cr $f > $f.gz; done;
You need to login to post a comment.
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;
You need to login to post a comment.