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

Re: Repartitioning



Craig Dickson <crdic@pacbell.net> writes:

> Ah, good point. cp would actually change all symlinks (and hard links)
> into separate copies, wouldn't it. So perhaps archiving to tar files
> would be better. tar understands both symlinks and hard links, right?

    cp -d preserves symlinks and hardlinks
    cp -p preserve file attributes if possible
    cp -R Copy directories recursively, preserving non-directories 
    cp -a same as -dpR

     See man cp or info cp (The info page seems a little more
complete).

Regards,

Bob
-- 
   _
  |_)  _  |_    Robert D. Hilliard        <hilliard@debian.org>
  |_) (_) |_)   1294 S.W. Seagull Way     <bob@bobhilliard.net>
                Palm City, FL 34990 USA   GPG Key ID: 390D6559 
                                            



Reply to: