Uncategorized

Mac os x rsync exclude

In your working example, you dropped the trailing slash. It might be required to not have the slash. To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks. Here's the command I'm using: Any thoughts? Popular Topics in Apple.


  • 6 rsync Examples to Exclude Multiple Files and Directories using exclude-from.
  • Extra question;
  • Excluding only hidden folders?.
  • mac mini 1066 vs 1333.

Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. See http: GJStPierre Jun 23, at Typed by hand: At the beginning: ThomasDixon Jun 24, at So here's what I've had to do to use rsync on OSX and exclude a directory It should be BASH. GJStPierre Jun 24, at God, I wish I could use robocopy.

things to exclude from homedir rsync on osx · GitHub

Sorry, but none of these are working, it just always copies that directory. Thanks for your help though! Mike Jun 24, at Sep 3, So its can't be a version on the G4. Sep 5, 5: One gneral update. After reading a few responses here, and reading elsewhere, and some experimentation, i tried the following:.

Your Answer

Oddly, i'm making progress and that's making me even more confused. The syntax of the wo looks identical, so i simply don't get it. I'll also ask again, if maybe rcp would be a better choice. I dont modify that many files, and my network is fast. Wht i'm finding is that the remote compare -especially on older servers and the dog-slow NAS drive, take forver.

Maybe its easier to just copy them- since Sep 5, 6: If you want to try rcp, then try it and compare. As Linc has indicated, rcp will just blindly copy everything, so unless you are manually excluding the files you do not want to copy, I do not see how rcp would be faster. I have to read and re-read "man rsync" everytime I want to setup an include or exclude, and then I test it generally with a small test case repeatedly until I have it working the way I want, and then I let the script do its job. Thanks again, Bob.

For Maximum Safety, Copy Everything

FYI I mistyped your suggested so i dont know if it works or not. Can you explain the significance of:.

Excluding multiple elements

I suppose i need to read the rcp man pages. I suspected it would have a version of an exclude command or a "differential" command just as xcopy does in dos, and as does rsync. Maybe not. I was trying to avoid processor intensive inspection of the files -a simple data delta would do fine. I am truly frustrated. You do see that two [apparently] identical commands are performing differently, right?

Copy a folder of files excluding certain files on Mac terminal

Sep 5, 9: Figuring out exactly what rsync is using it relative to, is the hard part: After than I "Can" it in a script and leave it alone. Rsync - it simply ignores the "exclude" command More Less. Communities Contact Support. Sign in. Browse Search. Ask a question. User profile for user: Grant Lenahan Grant Lenahan. Mac OS X Speciality level out of ten: I'm using rsynch to make backups to several remote volumes, mounted to my desktop.

I also tried: TIA, Grant. Reply I have this question too I have this question too Me too Me too. All replies Drop Down menu. Loading page content. Linc Davis Linc Davis.