Being and non-being produce each other.
Difficult and easy complement each other.
Long and short define each other.
High and low oppose each other.
Fore and aft follow each other.
up & lower case
Pipe che restituisce caratteri maiuscoli da minuscoli
echo ciao |perl -e 'while (<>) { print uc }'Muovi tutti i file presenti in una dir da maiuscoli a minuscoli o viceversa ..
for i in `ls` ; do mv $i `echo $i |perl -e 'while(<>) { print lc ;}'` ; doneMuovi tutti i file presenti in una dir da maiuscoli a minuscoli o viceversaanche se contengono degli spazi (Thanks Nando) ..
for i in * ; do mv "$i" "`echo $i | perl -e 'while(<>) { print lc ;}'`" ; done- fabio's blog
- Login to post comments

