mananapr/cfiles

Unable to delete folder with same name of a file in trash

pedro-hs opened this issue · 0 comments

When select a folder (press space) and delete (press dd) if in trash exist a file with the same name of the folder, the mv return error

Example:
Create a text file with name exe in Trash/files
Create a folder with the same name in another directory, open cfiles and delete the file via dd
Mv return:
mv: cannot overwrite non-directory '/home/pedro/.local/share/Trash/files/exe' with directory '/home/pedro/Documents/src/dotfiles/exe'