This should be simple. So what am I blind to? keybounceMBP:Overhead Cobble Descends michael$ ls ../../../../../../Kleiman\ Movies/Archived\ Recordings/Reasonable\ Realism/Recordings/ total 0 0 OverheadCobble 3 15-03-28-01.cmrec/ 0 OverheadCobble 3 15-03-28-04.cmrec/ 0 OverheadCobble 3 15-03-28-02.cmrec/ 0 OverheadCobble 3 15-03-28-05.cmrec/ 0 OverheadCobble 3 15-03-28-03.cmrec/ keybounceMBP:Overhead Cobble Descends michael$ for i in Overhead\ Cobble*cmrec ; do mv "$i" "$i.foo" ; ln -s ../../../../../../Kleiman\ Movies/Archived\ Recordings/Reasonable\ Realism/Recordings/"$i" "$i" ; done
My filenames have spaces, so I made sure to use quotes around the variable name. The links are relative, so even inside Time Machine it will still work. keybounceMBP:Overhead Cobble Descends michael$ ls -l total 2918612 748 -rw-r--r-- 1 michael staff 764183 Apr 3 08:42 Overhead Cobble 1 15-03-14.png 2041676 -rw-r--r-- 1 michael staff 2090672218 Mar 14 21:15 Overhead Cobble 1 15-03-14.trec 146400 -rw-r--r--@ 1 michael staff 149905951 Mar 14 22:15 Overhead Cobble 2 15-03-14-01.mp4 138724 -rw-r--r--@ 1 michael staff 142049481 Mar 14 22:45 Overhead Cobble 2 15-03-14-02.mp4 142956 -rw-r--r--@ 1 michael staff 146385863 Mar 14 23:15 Overhead Cobble 2 15-03-14-03.mp4 164384 -rw-r--r-- 1 michael staff 168328703 Mar 14 23:45 Overhead Cobble 2 15-03-14-04.mp4 175656 -rw-r--r-- 1 michael staff 179871557 Mar 15 00:15 Overhead Cobble 2 15-03-14-05.mp4 108048 -rw-r--r-- 1 michael staff 110638245 Mar 15 00:45 Overhead Cobble 2 15-03-14-06.mp4 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-01.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-01.cmrec 0 drwxrwxrwx 17 michael staff 578 Mar 28 17:18 Overhead Cobble 3 15-03-28-01.cmrec.foo/ 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-02.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-02.cmrec 0 drwxrwxrwx 17 michael staff 578 Mar 28 17:20 Overhead Cobble 3 15-03-28-02.cmrec.foo/ 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-03.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-03.cmrec 0 drwxrwxrwx 17 michael staff 578 Mar 28 20:07 Overhead Cobble 3 15-03-28-03.cmrec.foo/ 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-04.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-04.cmrec 0 drwxrwxrwx 17 michael staff 578 Mar 28 20:39 Overhead Cobble 3 15-03-28-04.cmrec.foo/ 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-05.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-05.cmrec 0 drwxrwxrwx 17 michael staff 578 Mar 28 22:14 Overhead Cobble 3 15-03-28-05.cmrec.foo/ The renamed files are there, with the ".foo" extension. The links are pointing to the proper location, as far as I can tell. keybounceMBP:Overhead Cobble Descends michael$ ls ../../../../../../Kleiman\ Movies/Archived\ Recordings/Reasonable\ Realism/Recordings/OverheadCobble\ 3\ 15-03-28-03.cmrec/ total 5733396 2316244 camera.mov 4 recordingScaleFactor 4 cursorImageData.dat 4 recordingScaleFactor.dat 8 cursoraction.dat 4 recordingregion.dat 932 cursorlocation.dat 3400576 screen.mov 14188 dirtyrect.dat 4 slideNotes.dat 1396 frontmost.dat 4 slideTexts.dat 4 keyboardaction.dat 4 slideTitles.dat 20 project.xml keybounceMBP:Overhead Cobble Descends michael$ Everything looks like it's there. But the links don't work. keybounceMBP:Overhead Cobble Descends michael$ ls -l Overhead\ Cobble\ 3\ 15-03-28-03.cmrec 4 lrwxr-xr-x 1 michael staff 118 Apr 13 13:39 Overhead Cobble 3 15-03-28-03.cmrec@ -> ../../../../../../Kleiman Movies/Archived Recordings/Reasonable Realism/Recordings/Overhead Cobble 3 15-03-28-03.cmrec keybounceMBP:Overhead Cobble Descends michael$ ls Overhead\ Cobble\ 3\ 15-03-28-03.cmrec/ ls: Overhead Cobble 3 15-03-28-03.cmrec/: No such file or directory keybounceMBP:Overhead Cobble Descends michael$ --- Entertaining minecraft videos http://YouTube.com/keybounce _______________________________________________ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk