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

Re: [SLUG] howto copy files and keep details intact?



On Sunday 24 June 2001 06:43, Rob B wrote:
> Hi all,
>
> I have a directory of files (ip accounting data) that I want to move to
> another directory.  If possible, how can I do this while keeping the
> creation date etc the same?
>
> Cheers,
> Rob
>

cp -a
  or
mv -a

The -a tells it perserve user owner, group owner, rights mask, creation 
time, and last access time.

Jon

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug