The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [rsync]

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

Filter by
Sorted by
Tagged with
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
90 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
462 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
924 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
62 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) ...
0
votes
3answers
130 views

Trigger Automator workflow on HDD mount

I want to know if there is some way to trigger a workflow when an external HDD is plugged. I want to mirror one folder in my local machine to backup it. Target folder will be in the external HDD and ...
3
votes
1answer
1k views

bug with rsync changing modification dates even with the -a option

I have been testing rsync and found a weird bug when copying files and folders from a partition to another: If I do this: rsync -avE --delete '/Volumes/disk1/origin/' '/Volumes/disk2/destination/' ...
0
votes
0answers
100 views

does rsync work differently from Mac to Mac-formatted hard drive v. with Linux

I'm trying to figure out if this rsync behavior I'm noticing is specific to copying from a Mac to a Mac-formatted hard drive v. with e.g. a Synology system. Typically, I've been using rsync to copy ...
2
votes
1answer
2k views

Keep bootable backup with rsync [closed]

I've ditched Carbon Copy Cloner now that it went commercial, well I felt guilty about using a closed source application anyways. What rsync options do you prefer when maintaining your bootable ...
3
votes
2answers
596 views

Using `rsync` as more advanced `cp`

For copying large files (and/or large quantities of files), especially across disks, I prefer to avoid using the Finder as it often fails with some meaningless error message and/or complaint about ...
10
votes
5answers
2k views

What program should I use to transfer 20TB data across the network?

I need to copy 20TB of data onto a thunderbolt array. The box where the data exists does not have a thunderbolt connection, so I will need to utilize the local 1GB network for this. (Yes, it will take ...
2
votes
1answer
166 views

Permanently disable Spotlight on disk that is used with rsync

I'm using rsync to mirror files from my internal drive to an external USB hard drive. This is the command I'm using: /usr/local/bin/rsync --archive --exclude='.DS_Store' --delete-after --progress --...
3
votes
0answers
603 views

rsync doesn't copy some files - failed to open /tmp files

I am trying to copy everything from one disk partition to another, so I have used: > time sudo rsync -aE --progress /Volumes/Files/ /Volumes/xxxx\ archive The copy takes almost 10 hours for ...
1
vote
1answer
136 views

Rsync fails due to Sudo timeout

I am trying to run a lengthy Rsync (local machine only, no ssh, no lan or wan connects involved) but Sudo is timing out and the script fails. Total runtime of the command is about 20 mins. What is the ...
2
votes
2answers
607 views

Sudden proliferation of 'Too many open files in system' errors. Can't do backup [duplicate]

My computer is showing signs of impending hard drive disaster. Time Machine recently killed all my backups and has not cooperated since. I tried backing up with Super Duper, but it quit after about a ...
1
vote
1answer
363 views

How to mirror one folder to another using rsync 3.x?

I have compiled rsync 3.0.9 just because the one included in Mavericks is so old. Anyway, I am trying to mirror a folder in my main HDD in another HDD. I don't think it matters but both are connected ...
0
votes
1answer
2k views

Using rsync to sync between 2 Macs wirelessly

I have two Macs, I would like to use rsync to sync the home folder, preferences (if it's possible) and Applications. I want rsync to run automatically if any file in these two Macs are changed, I ...
1
vote
0answers
396 views

Unknown Error -22 When Trying to Copy Files from Time Machine

Somehow I've managed to accumulate a bunch of files in Time Machine that don't seem to be capable of being copied out of Time Machine, citing "Unknown Error -22", like-so: sudo cp /path/to/...
1
vote
2answers
969 views

RSYNC recursive over Time Machine Backups identify unique files

i have an issue with my Time Machine Backup. To fix the mess i thought about waling recursively over all TimeMachine Backup folders. Oldest Backup RSYNC to NEW_TARGET Recursively go over every ...
2
votes
2answers
3k views

Which directories should I back up to save all of my data?

Would backing up my home directory be enough or does OS X saves important files outside of it I should be aware of? This is not supposed to be a full OS backup, I only want my data. Applications' ...
2
votes
1answer
622 views

Safest way to copy files to AirPort Disk from the command-line?

I have just started using an AirPort disk (a Drobo connected by USB to the AirPort Extreme). I am trying to decide what is the ‘safest’ way to copy files to the Drobo from my MacBook Pro, which ...
2
votes
2answers
736 views

Backup a bootable partition with rsync

I use rsync to create a backup of my boot partition (Mavericks). Everything is OK (during the backup) but the backup partition does not boot (it seems to loop infinitely). I think I used the correct ...
0
votes
1answer
1k views

Rsync exclude-from not working

I have created a rsync script which has been working fine until I made recent modifications adding exclude-from clause to it. When running the script it returns the following error: rsync error: ...
0
votes
1answer
1k views

Using rsync to copy data from one Drobo (NTFS) to another Drobo (Mac OS Extended (Journaled))

I have been using Windows 2008 in Parallels on my Mac Server to serve up files to my Windows clients on the network with a USB attached Drobo (NTFS). Now I want to move these files to my Mac Drobo (...
2
votes
1answer
7k views

Explanation for Ridiculously Slow Copy Speed

I am backing up data files from one encrypted image to another. They're text files ranging in size from a few hundred kilobytes to a few megabytes. The process has become excruciatingly slow and is ...
5
votes
3answers
12k views

Use rsync to automatically copy a file to another folder

I found this command to copy the content of source to a destination folder. rsync -r source/* destination What I would really like is to have this command run automatically each time a file is added ...
0
votes
1answer
573 views

Sync iTunes library across two machines

I would like to sync my music library across both my Macs. (one way sync from Machine A to Machine B) I currently already am able to sync across the music itself using rsync, however I would also like ...
2
votes
2answers
726 views

Git vs rsync when resource fork must be preserved

I have some ancient files that I need to share between Macs. There are over 100,000 of them. I need to keep the directory containing these files in sync. I thought Git would be a good solution, and it ...