Guest User

Untitled

a guest
Jun 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # Zip up files for a given user
  4. #
  5. # usage: backupToZipFile.sh <username>
  6.  
  7. cd home/backups/$1
  8. tar -czf /tmp/$1.tgz .
  9.  
  10. chdir('/home/backups/test1/');
Add Comment
Please, Sign In to add comment