Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- custom1=$1
- name=$2
- base_path=$3
- sync_path="~/Sync/"
- {
- if [ $1 = zzautodl ]; then
- cp -val "$3" "$sync_path"
- echo "created hardlink of $name in ~/Sync/ folder"
- fi
- } 2>&1 | ts >> ~/logs/hardlinkautodl.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement