Well, I guess you meant
and notcp -al
- right?cp - al
Though the usual suggestion for a Perl replacement of /bin/cp, would be to use to File::Copy, this doesn't apply in your case, since you want to create hard links. Is there a particular reason why you don't just shell out, i.e. system('cp -al DIRX DIRY')?
In reply to Re: Perl Commands for Unix/Linux
by rovf
in thread Perl Commands for Unix/Linux
by sanPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |