Help me into how to change directory into a non-alphanumeric named folder
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is along the lines of my recommendation. That name appears to be unique, use the wildcard or TAB for completion and then change the name to something which is not a problem.
Quote:
Originally Posted by Habitual
Since there are no "folders" in Linux. (They are all files.)
"Folders" is a graphical term for files...why not just deal with graphically?
I also was thinking this too. Just in whatever form of file manager there is, right click, rename, ... boom, done
I guess it boils down to if there's something left out by the OP that we're missing here.
the output of ls gives just some folder name some are printable while one is not printable on the terminal .
But if I pipe the output of ls into cat -A, the non-printable characters' of the file name is output as
Code:
M-BM- $
This file name cannot be typed in using a normal keyboard and I forgot to get the hexadecimal number of the non-printable characters.
Still I managed to use nautilus in a ubuntu virtual machine to rename the folder.
The weird name arose due to a virus on a crappy windows shitty laptop. It managed to hide some files into a non-printable folder.
Even power shell was unable to print the filename.
Unfortunately, My slackbox was not with me at that particular place and time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.