osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Hey there,

Chris Green wrote:

> 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? 

This page might be useful:

https://unix.stackexchange.com/questions/149795/move-preserves-ownership-of-source-files-not-allowing-writes

-- 
Little Girl

There is no spoon.