find * -mtime 0 -printf "%p " | awk '{print "scp -i sshid "$0" user@hostname:/path"}' | sh
find * -mtime -13 -printf "%p " | awk '{print "cp -p "$0" ~/folder "}' | sh
No comments:
Post a Comment