Score:0

How to copy NTFS files that have a dot at the end of the filename

it flag

I am using MATE and Caja. I want to copy files from an NTFS drive to another NTFS drive. When the copying process reaches a file which has a dot as the last character in the name (e.g. ABCD.) then I get an error message "Invalid Filename". Is there another way to copy these files?

Thank you.

PonJar avatar
in flag
It might help if you add information about how you are copying. eg the command used
Marco avatar
br flag
WIN32 API strips trailing "." (dot). Therefore it depends on how exactly you copy and how you access the NFTS (smb mount, direct mount).
ubnewb avatar
it flag
I am using Caja with copy and paste. The files were created on a Win 10 laptop.
PonJar avatar
in flag
If the source and destination partitions are directly mounted then the cp command, run in a terminal, should work. Something like `cp -rpi /path/to/sourcedir /path/to/destination/ ` will copy everything in and below sourcedir to destination. If a file already exists at the destination it will ask for confirmation to overwrite
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.