Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: removing spaces from a file name
- X-seq: zsh-users 12505
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: removing spaces from a file name
- Date: Wed, 30 Jan 2008 12:13:14 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- References: <Xns9A3574A71769Dzzappergmailcom@xxxxxxxxxxxx> <200801301141.m0UBffD3005256@xxxxxxxxxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
Peter Stephenson wrote in news:200801301141.m0UBffD3005256@xxxxxxxxxxxxxx:
> autoload -U zmv
> zmv '(* *)' '${1// /_}'
Drat forgot zmv
zmv '* *' '$f:gs/ /_' # alternative
--
zzapper
http://www.successtheory.com/tips/vimtips.html
http://www.successtheory.com/tips/zshtips.html
http://www.successtheory.com/tips/cygwintips.php (in progress)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author