How would you emulate cp -al ?



Hi folks,

I need to emulate the copy command with preserves file & directory
attributes and hard-links files instead of copying.

This is normally done by "cp -al"

My problem is that I want to do that on a Terastation Pro II which uses a
busybox cp command which does not support the -l option.

So I am searching for a as simple as possible solution to emulate that which
should also be as fast as possible.

How would you do that?

Many thanks in advance,
yours Henri


.



Relevant Pages

  • Re: map problem
    ... >> filesize in bytes? ... asked to emulate the UNIX shell command _ls -s_ which he seems to think ...
    (perl.beginners)
  • Re: Eliminating non-optical disc devices when enumerating with GUID_DEVINTERFACE_CDROM
    ... And what is such a command? ... the perfect virtual CD drive will emulate them all. ... Maxim S. Shatskih ...
    (microsoft.public.development.device.drivers)
  • Re: Access 2003 Run-Time
    ... to emulate the runtime experience then run ... database name on the command line to. ... > 2003 Developer Extensions CD. ...
    (microsoft.public.access.setupconfig)
  • Twisted Conch for emulating a terminal?
    ... I'm trying to figure out how to emulate a terminal with twisted conch ... (I want to be able to send the client information with the 'write' ... not just execute a single command and exit. ...
    (comp.lang.python)