sindresorhus / trash-cli

Move files and folders to the trash
MIT License
1.32k stars 35 forks source link

Strange file names in trash folder #13

Open Seybo opened 7 years ago

Seybo commented 7 years ago

Here is what I get in my (Ubuntu) trash folder after deletion and I cannot restore these files as well. Initially i called this file new.rb image

Seybo commented 7 years ago

just rebooted and noticed that filenames has changed now to normal and I can restore them. But the new deletions appear in the trash with the strange names again. So for some reason reboot is needed

DavidOliver commented 6 years ago

Same for me, in Ubuntu 16.10.

jjangga0214 commented 5 years ago

Same for me, in Ubuntu 18.04

ImtiazEpu commented 5 years ago

same for me in pop_os 18.04.

zzzachzzz commented 5 years ago

Same here in Ubuntu 18.04 within WSL. Mind you this was happening when trashing files within the WSL environment, not a Windows directory.

kidonng commented 4 years ago

I think it's because trash will rename deleted files to unique UUIDs instead of dealing with name conflicting. The filenames may return normal if your file manager reads original filenames from .trashinfo files.