Perhaps
cp -r /home/henry/originalDir/* /home/henry/newDirectory
> by the way, what is the difference between cp and hard link?
A hard link isn't a copy of the file, but two directory entries pointing at the SAME part of the disk. Changing the file via one of them also changes the file as seen from the other link.
Also, to remove a file with say two hard links, you have to remove both directory entries.
It's a nice way of preventing accidental deletion, but it's no backup solution.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953