oleost
Cadet
- Joined
- Aug 19, 2012
- Messages
- 6
Hi
Im trying to setup an rsync, that pulls files from a remote server I have. Also I want only an spesified file type.
Earlier on an Ubuntu server I used this command, but now it doesnt seems to work, it only fetches Directories and not the files I want.
Any suggestions?
Im trying to setup an rsync, that pulls files from a remote server I have. Also I want only an spesified file type.
Earlier on an Ubuntu server I used this command, but now it doesnt seems to work, it only fetches Directories and not the files I want.
Any suggestions?
Code:
root@NAS:~/rsync # rsync -va --include '*/' --include-from=/root/rsync/filestosync --exclude '*' -ssh XXX@XXX.XXXX.com:/home/XXX/XXX/Movies/ /mnt/KK02/Storage/Filmer/ receiving incremental file list sent 176 bytes received 2.51K bytes 1.79K bytes/sec total size is 0 speedup is 0.00 root@NAS:~/rsync # nano /root/rsync/filestosync GNU nano 2.7.0 File: /root/rsync/filestosync *.mkv *.sub