Almost got my rsync running over ssh setup. Only problem is the actual file
structure.

Everything I want backed up is on my USB drive /USB/USB_HDD_4/*.* and I want
it on my remote server underneath the backup folder. When I run this command
it creates a USB_HDD_4 (i.e. I see /mnt/Data/backup/USB_HDD_4/*.*) folder
and then everything is under that folder. What command can I run so its
directly under the backkup folder (/mnt/Data/backup/*.*)?

rsync -e "ssh -p 2223" -avz --delete-after /USB/USB_HDD_4
u...@1.1.1.1:/mnt/Data/backup

Thanks in advance for the help.
-- 
View this message in context: 
http://old.nabble.com/Folder-Structure-Help-tp26918986p26918986.html
Sent from the Samba - rsync mailing list archive at Nabble.com.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to