Skip to content

Instantly share code, notes, and snippets.

@teopost
Last active August 29, 2015 14:10
Show Gist options
  • Save teopost/5b1e8c1a0bcee1026a17 to your computer and use it in GitHub Desktop.
Save teopost/5b1e8c1a0bcee1026a17 to your computer and use it in GitHub Desktop.
Copie su NAS con rsync
#!/bin/bash
export sourcedir=/media/teopost/Stage_1000
export destdir=/media/NAS/dati
rsync -av --delete --progress $sourcedir/Fotografie $destdir
rsync -av --delete --progress $sourcedir/Immagini $destdir
rsync -av --delete --progress $sourcedir/Musica $destdir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment