[SOLVED] How Can I Change the Label of My Mounted USB Flash Drive?
How can I change the label of my USB mounted in /media. The file name has spaces in it.
I tried using Quote:
Anyway, any help would be appreciated. |
Looking at the man page for rename (possibly a different version than yours) the syntax is
Code:
rename from to file ... Code:
rename .htm .html *.htm Code:
rename file\ name file_name file\ name This all assumes, of course, that you can write on the device (and I don't really know if that's possible -- try it on something you don't care about, eh). Hope this helps some. Just as an aside, I have this little utility that renames blanks in file name to underscores; I don't know who the author is or where I got it (sorry!), but it might be of use when dealing with Miserydos files: Code:
cat blank-rename.sh |
That did it, works great. Thank you so much!
|
All times are GMT -5. The time now is 05:32 PM. |