I'm using the following to backup a directory
cp -Rp fromdir/* todir
It's worked bar the fact it does not copied links or .file (files beginning with dot - sorry!) files
Any ideas what parameter should be used. I've also tested with cp -rp but this has the same result.
For links should -h or -H be used, and how does this affect the link in the live directory (not great at understanding the full affect of copying/deleting links)
thanks
aixchild
cp -Rp fromdir/* todir
It's worked bar the fact it does not copied links or .file (files beginning with dot - sorry!) files
Any ideas what parameter should be used. I've also tested with cp -rp but this has the same result.
For links should -h or -H be used, and how does this affect the link in the live directory (not great at understanding the full affect of copying/deleting links)
thanks
aixchild