On 2020-09-16 01:04, Ed Greshko wrote:
On 2020-09-16 04:09, Bob Goodwin wrote:
Well, never trusting the "mv" command, I decided to do some experimenting and did:
You know, if you're not comfortable with knowing how a command works or what results it will produce it is best not to work with "live/real" data.
In this case, you could have created a directory structure in the same manner as your real data and used mv on it to see the results.
° I am surprised that you are the first one to point out this error in my procedure. I expected to hear that in the first response to my questions.
I have developed some confidence in the people who give me instruction on this list and needed to try the command. I also knew that before asking g any questions I had copied my stored data to another drive on my LAN so if I had a major problem I could still reconstruct things.
But you are right and I usually take care to cover myself when doing things like that. I also looked at the man page and "mv" appears to be a better way to do the job than just coping and erasing later ... I have had some unpleasant surprises with 'rsync' producing copies of directories containing no files? I gave learned to inspect the results, *Bob*
You could even go so far as to use a VM for testing commands and other things you're concerned may not do as you intend.