[Important Security Notice] Fake Qfinder Pro Websites Detected. Learn more >

How do I use rsync to transfer files or folders from my Mac to a QNAP NAS?


Last modified date: 2025-09-02

Aplicable Products

  • All QNAP NAS models running QTS or QuTS hero

Scenario

You want to transfer files or folders from a macOS computer to your QNAP NAS efficiently and securely using the rsync command in Terminal.


Solution

  1. Enable SSH on your NAS
    • Go to Control Panel > Network & File Services > Telnet/SSH, and select Enable SSH.
    • Ensure your NAS user account has SSH login permission. For details, see How do I access my QNAP NAS using SSH?
  2. On your Mac, open Terminal.
  3. To copy a single file, enter:
    rsync -avh /Users/$USER/Downloads/qlink.jpg admin@192.168.xxx.xxx:/share/Public/
    • /Users/$USER/Downloads/qlink.jpg: Path to the file on your Mac
    • admin@192.168.xxx.xxx: Replace with your NAS username and IP address
    • /share/Public/: Destination folder on the NAS
  4. To copy a folder (e.g., Downloads), enter:
    rsync -avh /Users/$USER/Downloads/ admin@192.168.xxx.xxx:/share/Public/
    • The trailing / ensures all contents of Downloads are included.
  5. When prompted, enter your NAS account password.
  6. Your files or folders will appear in the NAS Public folder.

Reminders

  • Your NAS account must have write access to the target folder and SSH login permission enabled.
  • If you see a Permission denied error, confirm your NAS folder permissions and SSH settings.
  • You can replace Downloads with any folder path on your Mac.
  • If you do not know your NAS IP address, find it at Control Panel > System > System Status > Overview on your NAS.

Further Reading

Was this article helpful?

Thank you for your feedback.

For further assistance, ask other users and QNAP experts in the community. Go to QNAP Community

Please tell us how this article can be improved:

If you want to provide additional feedback, please include it below.

Choose specification

      Show more Less
      Choose Your Country or Region
      open menu
      back to top