Quote:
Originally Posted by
ningy
Please suggest a way to avoid data loss.
No offense intended (just honesty), but you're problem statement is useless. Given its utter lack of specificity, I'm surprised anyone invested any of their time in responding to it.
Accurate answers to the following questions will probably lead to a quick resolution:
* What operating system you are using?
* What are the exact commands used to add files to the current directory?
* What are the exact commands used to copy the files to their new location?
* Are these two directories part of the same filesystem?
* What are the exact commands (if any) that are run as part of any subsequent clean up.
* What exactly do you mean by data loss? Are entire files missing? Are you seeing partially complete files? Something else?
For all we know, your problem may be as simple as misusing 'rm -fr' when 'rmdir' is required.
In the future, if you would like accurate, focused assistance, save everyone (yourself included) time and be specific from the start.
Regards,
Alister