Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: removing spaces from a file name



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