doing a FileUtils.mv src, dest
does not remove original file on macOS, normal ?
Reading : <
https://ruby-doc.org/stdlib-2.2.2/libdoc/fileutils/rdoc/FileUtils.html#method-c-mv>
states, at the opposite :
mv(src, dest, options = {})
Options: force noop verbose
Moves file(s) src to dest. If file and dest exist on the different disk partition, the file is copied then the original file is removed.
in my test src and dest where on different disks (not only partitions of
the same disk).
could that be due to the fact I've used the full path for dest ?
That's to say :
src = '/path/to/a_file.ext'
dest = '/Another/volume/path/to/a_file.ext'
?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)