Query: file::copy::link
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
File::Copy::Link(3pm) User Contributed Perl Documentation File::Copy::Link(3pm)NAMEFile::Copy::Link - Perl extension for replacing a link by a copy of the linked file.SYNOPSISuse File::Copy::Link; copylink 'file.lnk'; use File::Copy::Link qw(safecopylink); safecopylink 'file.lnk';DESCRIPTION"copylink" reads the filename linked to by the argument and replaced the link with a copy of the file. It opens a filehandle to read from the link, deletes the link, and then copies the filehandle back to the link. "safecopylink" does the same as "copylink" but without the open-and-delete manouvre. Instead, it uses "File::Spec::Link" to find the target of the link and copies from there. This module is mostly a wrapper round "File::Spec::Link::linked" and "File::Copy::copy", the functionality is available in a command line script copylink. EXPORT Nothing by default, can export "copylink", `"safecopylink".SEE ALSOcopylink(1) File::Copy(3) File::Spec::Link(3)AUTHORRobin Barker, <Robin.Barker@npl.co.uk>COPYRIGHT AND LICENSECopyright 2003, 2006, 2007 by Robin Barker This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-09-30 File::Copy::Link(3pm)
Related Man Pages |
---|
file::copy::link(3pm) - debian |
file::spec::link(3pm) - debian |
file::spec::functions5.18(3pm) - mojave |
file::spec::cygwin(3pm) - debian |
file::spec::cygwin(3pm) - suse |
Similar Topics in the Unix Linux Community |
---|
using perl or awk to print output |
Find Hard Link |
How to Link FS to 2 directories? |
Copy data form File A and Create File B |
Altering a jar file |