Comments on: Stupid Symlink Tricks http://tleaves.com/2004/03/13/stupid-symlink-tricks/ Creativity x Technology Sat, 17 Mar 2012 05:09:58 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: Philip Hodgetts http://tleaves.com/2004/03/13/stupid-symlink-tricks/comment-page-1/#comment-170 Philip Hodgetts Sun, 30 May 2004 01:18:46 +0000 http://tleaves.com/?p=49#comment-170 Of course, this is well covered in the manual on page 105 (from memory). A regular alias will work 99% of the time. Cheers Philip Of course, this is well covered in the manual on page 105 (from memory). A regular alias will work 99% of the time.

Cheers

Philip

]]>
By: Brett Johnson http://tleaves.com/2004/03/13/stupid-symlink-tricks/comment-page-1/#comment-169 Brett Johnson Sun, 14 Mar 2004 02:17:08 +0000 http://tleaves.com/?p=49#comment-169 I have a couple of comments. The BSD unix command line utils (like mv) don't understand HFS resource forks, so they are lost. For a single file, use CpMac. For a whole directory, use ditto (which preserves permissions as well as resource forks). Within a volume, mv optimally moves only the directory entries for a file - the actual data remains in its original disk blocks (inodes). However moving across volumes forces the data to be copied, so your no better off than using ditto anyway. However, you can usually avoid the copy step by performing the link in advance of the installation. That forces the installer to put the files on the external device as they are un-archived. One way to fool iTunes is to hard-mount another device into the filesystem at ~/Music/iTunes/iTunes Music. This is especially nice, because you can keep a small selection of songs on the laptop for when you are "untethered". The hard mount at that same directory would then "obscure" the local tunes. Ideally, you could mount using the 'union' option, but that would probably seriously confuse iTunes. man mount. I have a couple of comments.

The BSD unix command line utils (like mv) don’t understand HFS resource forks, so they are lost. For a single file, use CpMac. For a whole directory, use ditto (which preserves permissions as well as resource forks).

Within a volume, mv optimally moves only the directory entries for a file – the actual data remains in its original disk blocks (inodes). However moving across volumes forces the data to be copied, so your no better off than using ditto anyway. However, you can usually avoid the copy step by performing the link in advance of the installation. That forces the installer to put the files on the external device as they are un-archived.

One way to fool iTunes is to hard-mount another device into the filesystem at ~/Music/iTunes/iTunes Music. This is especially nice, because you can keep a small selection of songs on the laptop for when you are “untethered”. The hard mount at that same directory would then “obscure” the local tunes. Ideally, you could mount using the ‘union’ option, but that would probably seriously confuse iTunes. man mount.

]]>
By: Derrick Brashear http://tleaves.com/2004/03/13/stupid-symlink-tricks/comment-page-1/#comment-168 Derrick Brashear Sun, 14 Mar 2004 01:07:50 +0000 http://tleaves.com/?p=49#comment-168 I assume a more Mac-centric audience might not realize it; My first thought was to do it exactly this way, because duh, it's Unix. I assume a more Mac-centric audience might not realize it; My first thought was to do it exactly this way, because duh, it’s Unix.

]]>