Matias Surdi wrote:
> I've a script on a linux box wich makes backups, it uses the "cp -al"
> command to make hard links and preserve atributes.
> 
> Is there an equivalent on FreeBSD?

"cp -p" comes reasonably close, but will duplicate files rather than creating
hard links.  If you need to preserve hard links, consider using tar or maybe
rsync to do the copying instead.

-- 
-Chuck
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to