In Terminal, the working directory was set to /mnt/qq/iso
.
I wanted to move a file from this directory to the parent directory qq, so I entered:
mv -v boot-repair-disk-64bit.iso ../
Instead of moving the file the file was removed. Could anyone explain why this happened and what is the correct way to transfer a file up 1 or more directory levels?
If I typed cd ../
the wd would be changed to qq
. So why would this not apply to transferring a file?
»boot-repair-disk-64bit.iso“ -> »../boot-repair-disk-64bit.iso“
?history
for the commands near this "mv" command ;) If there was something else behind the ../ the file got renamed (and if that started with a "." also check withls -la
if it became hidden)