Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /bin/bash ss1 /home/user arch /home/user/folder
- tar -cvf --exclude=.* $1/$2 $3
- find "$3" -type f ! -empty ! -name '.*' | tar cvf "$1/$2" -T -
- find "$3" ( -type d -empty ) -o ( -type f ! -empty ! -name '.*' ) |
- tar cvf "$1/$2" -T -
- find "$3" ( ( -type d -empty ) -o ( -type f ! -empty ! -name '.*' ) ) -print0 |
- tar cvf "$1/$2" --null -T -
- find test/ -not -iname ".*" -not -empty -exec tar --no-recursion -rvf file.tar {} ;
Add Comment
Please, Sign In to add comment