Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] How to cope with strange filenames in bash?



On 7/3/07, Michal Hajek <hajek1@example.com> wrote:

Hello,

a simple question:

how do I cope in bash with filenames containing "-" character (i.e.
dash) ?

In my case, I have downloaded this file:
-umai-Doremi--Kenichi-10--B36CAB67-.avi.part1.rar


If you man rm, you will find the answer:

rm -- -filename
or
rm ./-filename

#man rm
#info coreutils rm

HTH

--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@example.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links