Delete Files With Special Characters
I use SecureCRT for my terminal application, partly because it supports native zmodem transfers, and that makes moving files back and forth between my desktop super easy (if you have lrzsz installed you can just “sz filename.txt” to send something over). Occasionally, though, the transfer aborts and the shell vomits things to files with special characters in their names, like: $ ls -rw-r–r–. 1 plankers plankers 0 May 9 14:00 ”$’\326”y’$’\342”[‘$’\305”X’ -rw-r–r–. 1 plankers plankers 0 May 9 14:00 ”$’\370\343”4’$’\361′ How do you deal with files with special characters? There are a number of tricks that work: The inode number method is super easy to use if you have shell …