[mythtv-users] MythWeb filename to actual filename

Bobby Gill bobbygill at rogers.com
Wed Apr 8 18:33:20 UTC 2009


>
> 'cp -L' will copy the target rather than the link itself.
>>>
>> And--though Raymond's answer is the best answer, as you should never rely
>> on defaults--on systems that use GNU coreutils, cp (with no arguments)
>> defaults to following symlinks.  Generally, -L is only required when you put
>> in certain arguments that would imply you do not want to dereference
>> symlinks.
>>
> Ah... my files are all stored on a FreeBSD machine, whose default behavior
> is just to copy the link.
>
>
Okay, I tried that but I keep getting no such file or directory.

[14:31:55] /media/mythbox/recording-links > ls -l | grep -i amtrak
lrwxrwxrwx 1 bobby bobby 35 2009-04-08 03:00 The Colbert Report- Amtrak
Nailed Em segment-2009.02.03.mpg -> /media/myth/1042_20090203093000.mpg
[14:32:01] /media/mythbox/recording-links > cp -vL The\ Colbert\ Report-\
Amtrak\ Nailed\ Em\ segment-2009.02.03.mpg /media/stuff/
cp: cannot stat `The Colbert Report- Amtrak Nailed Em
segment-2009.02.03.mpg': No such file or directory
[14:32:10] /media/mythbox/recording-links >

Even without -L it does the same thing.


Thanks
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090408/fab938a9/attachment.htm>


More information about the mythtv-users mailing list