Does mv on a FAT filesystem actually rename or does it copy and delete?

Oliver Grawert ogra at ubuntu.com
Sat Feb 3 11:47:31 UTC 2018


hi,
Am Samstag, den 03.02.2018, 09:50 +0000 schrieb Chris Green:
> I want to rename some picture files on a mounted digital camera
> filesystem.  It is a VFAT filesystem.
> 
> If I rename one of the files using 'mv <xxxx.yyy>' will the file
> *actually* be renamed by changing the directory entry only or will
> mv copy the file to one with the new name and then delete the old
> one? 
> 

at [1] is a nice FAQ about mv an how it works ...

ciao
	oli

[1] http://www.theunixschool.com/2012/08/move-files-and-directories-ino
des-part-3.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180203/0fa9267c/attachment.sig>


More information about the ubuntu-users mailing list