根據
$ info coreutils 'mv invocation'
...
It first uses some of the same code that's used by `cp -a'
to copy the requested directories and files, then (assuming the copy
succeeded) it removes the originals. If the copy fails, then the part
that was copied to the destination partition is removed. If you were
to copy three directories from one partition to another and the copy of
the first directory succeeded, but the second didn't, the first would
be left on the destination partition and the second and third would be
left on the original partition.
...
看起來是有搬成功的那部份會被移除掉
※ 引述《BLUBLU (the sight of the eyes)》之銘言:
: 請問ㄧ下
: 當我想用mv指令將資料從 A 搬到 B
: 指令執行到途中才想到硬碟空間可能會有問題
: 這時我按了 Ctrl + C
: 這時候原本在A處的原始資料
: 應該還是完整的吧 !
: 所以A不會因有部分搬到B處,而有所缺少囉?
--
$ info coreutils 'mv invocation'
...
It first uses some of the same code that's used by `cp -a'
to copy the requested directories and files, then (assuming the copy
succeeded) it removes the originals. If the copy fails, then the part
that was copied to the destination partition is removed. If you were
to copy three directories from one partition to another and the copy of
the first directory succeeded, but the second didn't, the first would
be left on the destination partition and the second and third would be
left on the original partition.
...
看起來是有搬成功的那部份會被移除掉
※ 引述《BLUBLU (the sight of the eyes)》之銘言:
: 請問ㄧ下
: 當我想用mv指令將資料從 A 搬到 B
: 指令執行到途中才想到硬碟空間可能會有問題
: 這時我按了 Ctrl + C
: 這時候原本在A處的原始資料
: 應該還是完整的吧 !
: 所以A不會因有部分搬到B處,而有所缺少囉?
--
All Comments