
Ideally, some little program or script would identify added or changed files, copy them to the flash drive, then put them into the corresponding sub-directory when the flash drive was connected to the other machine. The flash drive is not big enough to contain a copy of the entire directory, but can easily hold just the changed files. I currently do this manually by copying any changed files onto a flash memory stick and then copying them onto the other machine when I get home.
#MAC VISUAL DIFF PDF#
I need to keep a large (about 5GB) directory of pdf files in sync between a work PC and a home Mac, all sorted into appropriate sub-directories. This hint makes me realise I'm not alone in thinking there must be simpler solution to the problem of keeping a directory in sync between work and home computers, without having to lug an external hard drive around. Is anyone else sync'ing app preferences and executables?Īlso, I am curious how people are using Subversion. Firefox preference copying is also not obvious to me. For example, taking a simple-minded approach to syncing causes MS Office to sort of re-install itself each time. For some apps, I haven't figured out which pref and support files are safe to copy. The complications come in due to the fact that applications do not always play nice with copying preferences and the like. I have been using Unison very successfully so far for documents in general and for certain application preferences. Of course the laptop has much less hd space which means I need to be selective. I too am trying to keep a desktop and a laptop in sync - both running OSX. There are, of course, a number of GUI apps that would do the job, too (e.g., ), many of them shareware. Although Unison appears to have an option to turn off permission checking ( -perms 0, or -perms=0), I couldn't get it to work. To forestall some obvious comments, would seem to be the ideal tool, but it lists hundreds of files that only differ in their permissions metadata (not important to me). Pipe the output through grep to remove mention of uninteresting files, and sort to tidy it up, e.g.: diff -qr dirA dirB| grep -v -e 'DS_Store' -e 'Thumbs'| sort > diffs.txt This list gives me a good feel for the big picture before I start overwriting things: which files or subdirectories can be deleted, which can be synced (and in which direction) using rsync, and which should be carefully checked before replacing, in case changes need to be merged. The trick is to use the -q option to suppress line-by-line comparisons in files that differ: diff -rq dirA dirB This command will provide a nice list of files that occur in dirA but not in dirB, files that occur in dirB, but not in dirA, and files that differ between dirA and dirB. It was also OK if it was integrated into a hexeditor. I'm looking for a visual diff tool that can diff binary files. This might already be answered, but I did not find an answer that really matched my needs.


Subversion is quite easy to use and is a good alternative to CVS so that the switch is often just as matter of replacing 'cvs' with 'svn'.
#MAC VISUAL DIFF MAC#
In the last few months I have switched to 'Subversion' as the tool for source control on my MAC laptop (running Snow Leopard). If you want to resize a batch of images, select more than one at this stage, rather than opening one, and then another, etc. Some were free, and some cost $20 or more. I also use another application to very effective optimize the image.

I like to keep the home directories on my work (PC) and home (Mac) machines more-or-less in sync using a hard drive that I tote back and forth every few weeks.
