[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] File copy/move difficulties...



On Fri, 28 Aug 1998 16:46:44 -0400, Morgan A. Gebhardt wrote:
>
>OK, I'm sure you've all heard this before, but please humor me:
>
>I'm new to MacPerl (being the type that eats Crunchy UNIX-O's with
>Perl-mallows for breakfast) and I'm running into a bit of a problem. I
need
>to move a file (or files) from one volume to another.  I've tried both
>FSpCatMove as well as File::Copy::copy and File::Copy::move and I just
can't
>seem to do it.  I fail with a "Cross-device link" or "No such file or
>directory".  I'm following all of the Mac-style colon rules
 
The error messages usually mean what they say, so I assume for the first
you tried to move() something across devices that couldn't be, and in the
second something is wrong with one of the paths. You'll need to provide
some code, because guessing is always a bad way to go about this. copy()
will copy across devices, and move() will move across devices, as I've
just verified with MacPerl 5.2Or4. 

>(Vol:folder:file, etc.) and I can move stuff around all day within a
single
>volume.
>
>Please help... It's kinda frustrating being able to code multi-threaded
apps
>on one platform and not being able to mave a ^%$@#^%@! file on another. ;>
>
>Thanks.
>
>
>
>



-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch