10.4: Use of Access Control Lists causes issues with tar
The tar utility in 10.4 is great in that it now supports copying of resource forks. I've used hfstar for a long while, and thought I'd switch this weekend to using the 10.4 version on a newly-acquired Intel iMac. The machine has its internal disk partitioned into three pieces: OS, Users and Media. On the OS and Media partitions, /usr/bin/tar worked fine and preserved resource forks on the backups. On the Users partition, however, it successfully created tar archives, but without resource forks being preserved. It also generated errors of the form: $ tar -cvf test.tar Test Test/ tar: /tmp/tar.md.GPzLI9: Cannot stat: No such file or directory Test/.DS_Store tar: /tmp/tar.md.ayDXd5: Cannot stat: No such file or directory Test/MyCD Test/test.tar tar: Error exit delayed from previous errors I did some googling on the ...
published on Tuesday, the 7. November 2006, macosxhints
Delete originals from iPhoto6 library via Terminal
There was a neat utility that worked with iPhoto 5 (and below) called iPhoto Diet. This little AppleScript-based program let you delete all original photos from your iPhoto library (after backing them up, of course!), thus saving you lots of hard drive space. iPhoto diet no longer works for iPhoto 6, but typing the following commands in Terminal does the trick:$ mkdir ~/.Trash/iPhoto-Originals$ cd ~/"Pictures/iPhoto Library/Modified/"$ find . -type f -exec mv "../Originals/{}" ~/.Trash/iPhoto-Originals/ \;This set of commands creates a folder called iPhoto-Originals in the trash, and moves all of the originals to the trash, while keeping the non-modified originals in place. Just ignore the errors that show up in Terminal; they have to do with the fact that there are some photos in the modified folder (such as movie thumbnails) which don't have corresponding originals.Credit goes to ...
published on Thursday, the 1. June 2006, macosxhints
One method of skipping bad sectors on an iPod's drive
I purchesed a 3G iPod (15GB) second-hand for $65, not a bad deal eh? Well, the iPod worked fine until I saw I could not add music past the 10.96GB remaining space mark. I though it was just a formatting error at first, so...
published on Thursday, the 9. March 2006, macosxhints
Mac news categories
search article archive
- first page
- previous page
- page 2 of 2
- next page
- last page