Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cp "$1" "$1.old"
- if [ -z "$2" ]
- then
- mv "$1" "nowy"
- else
- mv "$1" "$2"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement