Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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?
- Date: Tue, 3 Jul 2007 17:55:01 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] How to cope with strange filenames in bash?
- References: <20070703072842.GG3938@wasi.karlov.mff.cuni.cz> <20070703081020.GA13263@xray.astro.isas.jaxa.jp>
On 03/07/07, Chris BALUTA <baluta@example.com> wrote:
find . -name "*Doremi--Kenichi*" -exec mv {} k1.rar \;[...]The {} and the \; are both absolutely needed.
It is probably safer to quote or otherwise escape the {}, e.g.
find . -name "*Doremi--Kenichi*" -exec mv '{}' k1.rar \;
or
find . -name "*Doremi--Kenichi*" -exec mv \{\} k1.rar \;
-- Cheers, Josh
- References:
- [tlug] How to cope with strange filenames in bash?
- From: Michal Hajek
- Re: [tlug] How to cope with strange filenames in bash?
- From: Chris BALUTA
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] The use of -
- Next by Date: Re: [tlug] [Announcement] TLUG Technical Meeting 2007-7-14
- Previous by thread: Re: [tlug] How to cope with strange filenames in bash?
- Next by thread: [tlug] The use of -
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links