Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rsync]

For questions about the rsync tool, which is a Unix utility for synchronizing files across computer systems.

0
votes
0answers
21 views

Do I need to back up /private, /tmp, or /.DocumentRevisions-V100?

I'm trying to back up my Macbook Pro using this rysnc script to an external USB drive: sudo rsync -avxE --progress / /Volumes/backupdrive/... which I found here: https://serverfault.com/questions/...
3
votes
2answers
3k views

copyfile errors and dot files using rsync

I read @SwisherSweet's question of the fastest and safest way to copy massive data from one external drive to another, along with @GrahamMiln's excellent answer. I'm in a similar situation where I ...
1
vote
0answers
30 views

Why would running rsync cause the Date Modified value on a particular folder on the source volume to change?

I ran rsync last night to backup some of my drive. When I woke up, the source folder (which is sorted by Date Modified, descending) had a particular sub-folder at the top which I haven't touched in ...
2
votes
1answer
262 views

update rsync in high sierra

I want to update rsync in high sierra. After I installed it using homebrew, it is installed in /usr/local/Cellar/rsync/3.1.3_1 rsync --version still shows 2.6.9. how can I fix that?
1
vote
1answer
28 views

Rsync mishap .. OS hdd is now full

I attempted to use the command: sudo rsync -vaE --progress /Volumes/1-mate /Volumes/Hired-Hand .. to move the contents of one connected drive to another. This was going great until my boot drive ...
1
vote
1answer
248 views

duplicate a folder/file structure using a placeholder file

I have a large library of digital media. Most of it is kept "offline" but the library software I use (Plex) uses media files to build the library and so I need to use placeholder files. Using 30 ...
4
votes
2answers
2k views

How do I grant root access to user files in Mojave?

I upgraded my laptop to Mojave. For years, my backup strategy has included using rsync (MacPorts rsync 3.1.3) to copy files to a file server. This stopped working properly, now showing some errors ...
4
votes
3answers
10k views

How to keep original “date created” when copying via Terminal?

There are many questions online asking how to make the commands rsync and cp go about copying a file while keeping the "date created" attribute the same as the original instead of the time of copy. I ...
2
votes
2answers
3k views

Synchronise folders on different Macs using rsync

I am trying to synchronise two different folders using rsync. I have copied all the data worth 4Tb from a network share to an external hdd using rsync -v -r /source /destination. Now I need to run ...
1
vote
2answers
2k views

Automator gets stuck at shell script

I am building an automator script to do automatic backups to a network drive via rsync. The shell script works perfectly fine in terminal and completes and everything, but when i run it from automator,...
2
votes
1answer
1k views

merge folder trees on OSX by moving, not copying them

It's backup time, and I've been trying to merge two big directory trees on the same (physical) partition, with lots levels of depth. The first one is the base containing all my projects up to 2014, ...
0
votes
0answers
66 views

How to repair, merge, or “update” (using rsync ?) partially downloaded/backed up duplicate icloud archives?

When I used icloud drive on my mac, and then disabled it, it moved all of my desktop files and documents to an archive. This happened multiple times. Now, I am no longer using this feature and I want ...
10
votes
4answers
11k views

Are there any up-to-date rsync frontends or similar for OSX?

For my work as a media professional I have been using the rsync frontend arrsync to back up my work, as time machine doesn't have the features I need. Arrsync, however, has not been in development for ...
2
votes
1answer
84 views

Cannot load rsync daemon in Sierra. Log shows: “assertion failed: 16G1408: libxpc.dylib”

I'm trying to start rsync --daemon on Sierra (10.12.6), using launchctl. It used to work fine (last time in Mavericks, I think). But now on Sierra, the daemon does not start and grep rsync /var/log/...
1
vote
0answers
162 views

rsync error for mirroring photos library between 2 external drives com.apple.quarantine permission denied

I have a huge photo library (about 400 GB) that won't fit inside my Mac book pro. I use a usb disk to store my library, and have 2 additional drives where I sync the library using rsync. Here is my ...
1
vote
1answer
993 views

Rsyncd: unable to bind any inbound sockets on port 873

I'm running OS X El Capitan. I want to run rsync in daemon mode but I'm unable to do it. Here is the error from /var/log/system./log: rsyncd[1329]: unable to bind any inbound sockets on port 873 ...
0
votes
1answer
65 views

Transferring data to a new external hard drive without breaking links

I'm trying to migrate my data from an old external hard drive to a new one. When I copy and paste from within Finder, the data seems to expand to take up much more space, so I'm assuming some link ...
1
vote
1answer
2k views

how to debug configure.sh errors when compiling rsync on Yosemite

I am trying to build myself a new version of rsync 3.1.1 under Mac OS 10.10.3, as the mac comes with an older version, and the project does not distribute binaries. I followed this simple script but ...
0
votes
0answers
114 views

rsync -a not preserving file ownership or group

I'm rsyncing from a remote linux box to my local solid state hard drive on my mac running High Sierra. I'm using the -a switch (archive) which is supposed to preserve the ownership of the group but ...
3
votes
2answers
2k views

Using Rsync For Exact Copy

I've used rsync before, on Linux, many times, but also many years ago and I also don't know if there are any differences or issues between using it on an iMac and on Linux. I have a drive with a ...
2
votes
1answer
288 views

User input in Automator's “Run Shell Script”

I have a Folder Action on a /Volumes folder. I'm checking when a specific disk is mounted (folder in /Volumes created), checking ssh to remote computer. If all present I run rsync there. It was OK ...
5
votes
1answer
397 views

How to use rsync via ssh with IPv6 LLA (link local address) addresses on OSX?

I'm using OSX High Sierra and bash. I'm trying to use a backup script based on IPv6 LLA (so I always reach the server, without DHCP, names etc). With IPv4 this works: rsync -e ssh /src/dir/* user@...
0
votes
1answer
462 views

Rsync 3.1.2 and High Sierra sparse bundle problem

For over a year, I've been using rsync to add a layer of archiving to my systems. It has worked fine. I recently upgraded the computers to High Sierra. My server contains a volume incorporating a ...
1
vote
0answers
84 views

Directory modification dates on FAT32 USB stick in OSX

I'm moving my files from Windows XP to OSX Sierra, and having trouble with rsync and directory modification dates. For now, I have moved the files from XP to a FAT32 USB drive using XP, and when I ...
11
votes
5answers
22k views

Using rsync to backup

I currently back up the contents of an external hard drive A by (1) deleting everything in the destination external hard drive B and (2) copying everything from A to B (in Finder). The external hard ...
6
votes
1answer
82 views

Trying to copy archive from one network share to another while ignoring the tilde character

I've been trying to copy an archive volume from one network share to another. Because most of these files are Mac files, I am using Mac Terminal to do so. I've tried every combination of cp, rsync, ...
1
vote
2answers
332 views

I canceled (control+c) rsync transfer on a large file; will it be picked up if I start over?

I am coping a about 5TB of data from a Drobo attacked to a Mac Mini running macOS Sierra to a NAS (FreeNAS). Here's the command I am using: sudo rsync -a --stats --progress "/Source" "/Destination" ...
1
vote
0answers
148 views

rsync is creating a folder called Archive under /Volumes instead of copying files to mounted share /Volumes/Archive

I am moving data from a Drobo 5D to a NAS (FreeNAS). I am using this command: sudo rsync -a --stats --progress "/Volumes/Drobo 5D" "/Volumes/Archive" Obviously, before I run the command, I mounted ...
2
votes
1answer
119 views

Safest rsync command options?

What are the safest commands to use with rsync to copy from one hard drive, all its content to a new hard drive, both external through my Mac. The important thing is I want to be sure permissions ...
3
votes
2answers
3k views

Rsync with Linux server: special character problem

I have a problem with using rsync for backuping files on my remote linux machine to my Mac. The first time all is well, but apparently there is a problem with special characters between the mac and ...
1
vote
2answers
398 views

rsync cron job for backup not working

I'm trying to run a backup from one HDD to another at 10pm everynight on a Mac Pro. I have tested the rsync and it backups just fine outside of the cron table. Here is what I have and it's not running ...
0
votes
1answer
177 views

rsync + chmod multiple files

I have a source folder source/ -rw-------@ 1 user staff 41B Mar 23 13:59 aws-1 -rw-r--r-- 1 user staff 112B Mar 23 14:36 aws-2 -rw-rw-rw-@ 1 user staff 2.3K Feb 5 17:15 google the ...
1
vote
1answer
3k views

Where is Rsync's default temp directory?

I'm using rsync to backup files to an external hard drive; my boot disk is pretty full. Rsync keeps failing due to not enough disk space to build the temporary file list, and unfortunately doesn't ...
1
vote
1answer
141 views

Terminal command that is the same as copy paste in Finder?

I'm curious. As far as cp and rsync I see all these different options. Correct me if I'm wrong, but if you copy + paste in Finder, lets say from one hard drive to another, it should preserve: All ...
1
vote
1answer
273 views

Error messages in rsync

When I run rsync -avz --exclude-from=exc ~/ /Volumes/Backup/home/ I get the message sending incremental file list ./ .DS_Store ...<snip>... (lots of files).... End of list of files sent 72,...
0
votes
1answer
721 views

Rsync re-copying all files

I use ParagonNTFS on my Mac that I can write to ntfs drives. I have two very large NTFS drives that I try to keep in sync. I'd like to be able to do this quickly with rsync: rsync -rvh --delete /...
2
votes
2answers
753 views

Rsync to macOS Sierra fails

I have a directory in my Ubuntu computer with the following sub directories: emacs.d/el-get/python-mode/ ├── extensions ├── EXTENSIONS ├── INSTALL ├── INSTALL-INFO-FILES ├── ... └── website When I ...
1
vote
0answers
113 views

rsync and hard links

I set up a shell script to synchronize two directories, this is the code: rsync -rptDH /source /destination Source is a local directory and destination is a smb mounted NAS drive. I added the -H ...
1
vote
3answers
904 views

Tool that watches files / folders and upload on change on OS X?

I am looking for an SFTP or rsync (?) tool (or script?) that watches a certain folder or certain files and uploads them to a remote server securely on change. The background: I've been using Sublime ...
2
votes
2answers
252 views

Back up Mac using CarbonCopyCloner with command line only?

Background: I never expected to have only command line access to my Mac, but the day has arrived! :) Due to a video card problem, any attempt to boot the normal OS or recovery partition results in ...
2
votes
2answers
141 views

Unexpected results from rsync

I am trying to use rsync for back up using this command: rsync -vaE --progress --delete /source /destination My goal is to have the destination be an exact copy of the source. I have updated rsync ...
3
votes
1answer
3k views

Rsync not copying some files with extended attributes

I am attempting to rsync from a network mounted volume to my Desktop. However some but not alll of the files are not copying because of an rsync error. I am using rsync 3.1.1 from Brew. I'm using ...
0
votes
1answer
653 views

Rsync error after a period of syncing (error in rsync protocol data stream)

I am trying to use a standard rsync via ssh between a local MacBook Pro and a remote Linux based machine (WD MyCloud). There is no problem initializing it, but after syncing for a while I always get ...
1
vote
0answers
635 views

Does rsync have issues with Unicode Characters in filenames? [duplicate]

I run rsync via a crontab every night to make an offsite backup of a directory's state, fairly trivial stuff really. While going through the logs, I noticed that in particular there were a set of ...
1
vote
1answer
2k views

Run a command on a schedule and verify that it has run

I want to run an rsync command each day or more often to back up a raspbery pi on my network to a drive attached to my mac. I see launchd, but I'm very confused about how to get it to work, and I ...
1
vote
1answer
2k views

Are copies using rsync faster than using Finder?

So - I have a question about using rsync in Terminal. I need to move a Time Machine backup off of an external drive in order to reformat it. The 'backups' folder is nearly 300 GB. At first I tried to ...
1
vote
0answers
81 views

Rsync for backups

I have gotten into the habit of using rsync to do my own backups of an encrypted volume containing my personal info onto an external hard drive. I did not use Time Machine, because I do not own the ...
0
votes
1answer
425 views

Rsync: run backups like Time Machine and prevent removing non existing remote files/dirs on local folder

I have this configuration: a NAS and a local hard drive on my Mac I want to backup incrementally, like Time Machine does. When I do this rsync command: rsync -va --exclude=.DS_Store --delete /...
0
votes
1answer
868 views

Preserving “hidden” attribute when copying from NTFS to HFS+?

I have an NTFS volume that I am copying into a new HFS+ volume. I'm using the following command to copy everything including all hidden directories and attributes: sudo rsync -aAXvF --del --chmod=F-x,...
0
votes
2answers
61 views

Mac Encrypted USB drive giving different capacity

I have an existing 1T USB drive (disk5 in the screenshot). I formatted another 1T USB drive (disk4) and starts to rsync files from disk5 to disk4. Near the end (the current state in the screenshot) ...