You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS filesystem is (typically) case-insensitive but case-preserving: it treats Filename.txt and filename.txt as identical.
Consequently, mv -nv "$oname" "$nname" in the san.sh script fails to rename Filename.txt to filename.txt.
A possible solution could be getting rid of the -n flag in mv -nv. But this risks accidentally overwriting files, as file_name.txt and file name.txt are both transformed to file-name.txt, resulting in the loss of one of the files.
The text was updated successfully, but these errors were encountered:
macOS filesystem is (typically) case-insensitive but case-preserving: it treats
Filename.txt
andfilename.txt
as identical.Consequently,
mv -nv "$oname" "$nname"
in thesan.sh
script fails to renameFilename.txt
tofilename.txt
.A possible solution could be getting rid of the
-n
flag inmv -nv
. But this risks accidentally overwriting files, asfile_name.txt
andfile name.txt
are both transformed tofile-name.txt
, resulting in the loss of one of the files.The text was updated successfully, but these errors were encountered: