Admin Sky Blog
  • Admin Sky Blog
  • GitLab
  • Mikrotik
  • RocketChat
  • Ansible
    • Ansible. Windows
  • CitrixXenServer
    • XenServer. Change boot order for VM ( HDD / ISO )
    • Using GRE tunnel
    • Citrix XenServer
    • XenServer. Install extra software
    • XenServer 6.5. Install
    • XenServer 7.0. Install
    • XenServer 7.2. Install
  • Etc
    • VirtualUSB
  • Git
    • Endline
  • Linux
    • crontab
    • find + scp
    • sort by column
    • Sending Magic Keys through SSH
  • MacOS
    • OpenVPN. MacOS
    • Macos. Terminal touchid
  • Mail
    • Check reputation
    • Postfix: header_checks
  • PostgreSQL
    • Postgresql. Restore
  • Proxmox
    • GPU passthrow to VM
  • etc
    • VirtualUSB
  • windows
    • Autohotkey
    • Windows. Lost password
Powered by GitBook
On this page
  1. Linux

find + scp

How to copy only files from the past few days?

find $BACKUP_DIR -name "*.xva" -type f -mtime -$BACKUP_AGE -exec \
scp '{}' $BACKUP_REMOTE_SERVER:$BACKUP_REMOTE_DIR ;
PreviouscrontabNextsort by column

Last updated 1 year ago