Originally Posted by Doc CPU
What you describe sounds like they're just symlinks or hardlinks, and they all point to the very same file. Can you check that (e.g. using ls -la)?
I have checked the files using ls -il
, and as you said, Doc CPU, it looks like the files are all hard links to the same file since they have the same inode number. Thank you for that help.
I have solved it by copying each file at a time.
Why do they become hardlinks when they are copied together at a go, using cp -rp
command? I used to do this before and they didn't become hardlinks!