Advertisement
albert828

scr l3z1

Oct 17th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. #!/bin/bash
  2. #set -x
  3. if [ ! $3 ]; then
  4.     echo Brak wystarczającej ilości parametrów
  5. else
  6.     find ~/ -name "$1" -mtime "-$2" | xargs tar -rvf "$3"
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement