Re: Question about mv operation.

2015-08-04 Thread James Montgomery
On Tue, Aug 4, 2015 at 4:11 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the host, and fix the filesystems. Now, I see in both locations, there

Re: Question about mv operation.

2015-08-04 Thread Some Body
Le mardi 04 août 2015 à 16:11 +0800, Magicloud Magiclouds a écrit : Now, I see in both locations, there are the file. My question is, is it safe to remove file in dest, and move to it again from src? I think that if you were just reading files from src, there is no reason for the source to be

Question about mv operation.

2015-08-04 Thread Magicloud Magiclouds
Hi, Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the host, and fix the filesystems. Now, I see in both locations, there are the file. My question is, is it safe to remove file in dest, and move to it again from src?

Re: Question about mv operation.

2015-08-04 Thread David Guyot
Le mardi 04 août 2015 à 16:11 +0800, Magicloud Magiclouds a écrit : Hi, Hello. Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the host, and fix the filesystems. Now, I see in both locations, there are the

Re: Question about mv operation.

2015-08-04 Thread Martin Skjöldebrand
Quoting Magicloud Magiclouds magicloud.magiclo...@gmail.com: Hi,   Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the host, and fix the filesystems.   Now, I see in both locations, there are the file.

Re: Question about mv operation.

2015-08-04 Thread shawn wilson
On Aug 4, 2015 1:26 AM, Some Body somebody.mo...@gmail.com wrote: Le mardi 04 août 2015 à 16:11 +0800, Magicloud Magiclouds a écrit : Now, I see in both locations, there are the file. My question is, is it safe to remove file in dest, and move to it again from src? If you don't want to

Re: Question about mv operation.

2015-08-04 Thread Some Body
Le mardi 04 août 2015 à 08:49 -0400, James Montgomery a écrit : On Tue, Aug 4, 2015 at 4:11 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the

Re: Question about mv operation.

2015-08-04 Thread Lisi Reisz
On Tuesday 04 August 2015 09:11:38 Magicloud Magiclouds wrote: Now, I see in both locations, there are the file. My question is, is it safe to remove file in dest, and move to it again from src? Why not rename it (mv it to another name) in dest before mv-ing it again from src? Lisi -- To

Re: Question about mv operation.

2015-08-04 Thread Joel Rees
On Tue, Aug 4, 2015 at 5:11 PM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Say I am moving a file between two harddisks. Now you know. You don't want to do that. (Although I just did that. It was a notebook, I knew the battery was good, and I was only mv-ing, uhm, well, it

Re: Question about mv operation.

2015-08-04 Thread Paul E Condon
On 20150804_1611+0800, Magicloud Magiclouds wrote: Hi, Say I am moving a file between two harddisks. Both filesystems are Ext4. During the operation, I cut off the power. Then boot the host, and fix the filesystems. Now, I see in both locations, there are the file. My question is, is it