- Joined
- Aug 26, 2019
- Messages
- 504 (0.38/day)
After more than a decade of apathy and negligence, I'm finally cleaning up and organizing the data in my life e.g. running fslint on my venerable NAS (Debian with mdm), finishing getting rsnapshot setup, et al.
One step was moving data from an external HDD to my NAS. While cleaning up said data now on my NAS, I encountered a directoryish that I can't delete despite every trick I know. Note where it said it's a directory and not a directory in the command output. Odd, right? Thoughts on how i can get it deleted?
Note: I can cd into it. The below result is upon running ls -lah after cding into it.
One step was moving data from an external HDD to my NAS. While cleaning up said data now on my NAS, I encountered a directoryish that I can't delete despite every trick I know. Note where it said it's a directory and not a directory in the command output. Odd, right? Thoughts on how i can get it deleted?
Bash:
# ls
'Fran?ois Couperin'
#ls -lah
ls: 'Fran?ois Couperin': No such file or directory
total 0
drwxr-xr-x+ 3 jdoe jdoe 0 Nov 4 02:11 .
drwxr-xr-x+ 3 jdoe jdoe 0 Nov 3 11:40 ..
drwxr-xr-x 3 jdoe jdoe 0 Aug 15 2014 'Fran?ois Couperin'
# ls -il
ls: 'Fran?ois Couperin': No such file or directory
total 0
239210 drwxr-xr-x 3 jdoe jdoe 0 Aug 15 2014 'Fran?ois Couperin'
# find . -inum 239210 -exec rm -i {} \;
rm: cannot remove './Fran?ois Couperin': Is a directory
find: ‘./Fran?ois Couperin’: Not a directory
Note: I can cd into it. The below result is upon running ls -lah after cding into it.
Bash:
# cd Fran\?ois\ Couperin/
.../Music/Fran?ois Couperin# ls -lah
ls: cannot open directory '.': No such file or directory
Last edited: