Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cbell@circe:~/tmp$ touch file.1 file.2
- cbell@circe:~/tmp$ chmod 600 file.2
- cbell@circe:~/tmp$ ls -l
- total 0
- -rw-r--r-- 1 cbell cbell 0 Oct 16 19:01 file.1
- -rw------- 1 cbell cbell 0 Oct 16 19:01 file.2
- cbell@circe:~/tmp$ for file in * ; do gzip $file ; done
- cbell@circe:~/tmp$ ls -l
- total 8
- -rw-r--r-- 1 cbell cbell 27 Oct 16 19:01 file.1.gz
- -rw------- 1 cbell cbell 27 Oct 16 19:01 file.2.gz
- cbell@circe:~/tmp$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement