zmv beispiel ergaenzt
authorValodim <Valodim@stratum0.org/mediawiki/>
Fri, 10 Feb 2012 21:40:03 +0000 (21:40 +0000)
committerValodim <Valodim@stratum0.org/mediawiki/>
Fri, 10 Feb 2012 21:40:03 +0000 (21:40 +0000)
ZSH_Workshop.mw

index 80396fc..30f7574 100644 (file)
@@ -15,7 +15,7 @@ Falls tatsaechlich grosses Interesse an dem Themekomplex "shell statt KDE und gn
 |-
 | living in the shell / basics (nicht allzu zsh-spezifisch) || <tt>evince =(curl www.irs.gov/pub/irs-pdf/fw4.pdf)</tt> || O
 |-
-| zsh interactive use || <tt>echo **/*(mh-48)</tt> || !
+| zsh interactive use || <tt>echo **/*(mh-48); zmv 'artist_(<->)_(*)_releasegroup.mp3' '$1 ${(C)2:gs/_/ }.mp3'</tt> || !
 |-
 | zsh scripting || <tt><nowiki>[[ 'something' =~ 's(ometh)ing' ]] && print $match;</nowiki></tt> ||  +
 |-
This page took 0.022922 seconds and 4 git commands to generate.