Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Copy files between to NAS using SSH and rsync and point to a specific folder on the nas'ses
How do I point to the right directory in the command line without getting syntax errors?
Eg. The target directory is “Movies”, that is a subdirectory to “Shared Videos”, that is a subdirectory to “Public”. The same question applies to the directory on the source NAS.
The command I want to use is this: rsync -azP [SOURCE DIRECTORY] admin@[IP ADDRESS OF YOUR NEW NAS]:[SOURCE DIRECTORY]
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×