[ale] link

Geoffrey lists at serioustechnology.com
Wed Apr 11 12:51:45 EDT 2007


Terry Bailey wrote:
> Hi,
> 
> If you do a
> 
> ln file1.abc file2.xyz
> 
> is there a way to erase one and they both go away?

I don't believe so.

> Also, it shows that they both are the same size. Is it the case that 
> there is only one instance of the data.

You probably want to do a sym. link:

ln -s file1.abc file2.xyz

> If this is not the case, then you might as well do cp file1.abc file2.xyz
> 
> In addition, which is quicker
> 
> ln file1.abc file2.xyz    or      cp file1.abc file2.xyz

I would expect that the ln is going to be faster as it's not actually 
copying the data to another location whereas the cp is.

-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin



More information about the Ale mailing list