Posts Tagged ‘ folder ’

Rename all files in a folder from upper to lower case.

February 12, 2010
By silviu

Sometimes is needed to have all files in a folder in the same case. Here’s a small script to rename all files in the folder to lower case: for i in *; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
Read more »

Tags: , , ,
Posted in Bash scripting | No Comments »

Checking directory sizes from the BASH prompt

January 18, 2010
By silviu
bash_script

The command ls can be made to show directories and permission but it will not display directory sizes. Then it’s time for other commands. For example on my hosting account there is no file manager installed and evidently x and kde is missing too so, to find out directory sizes I can use the...
Read more »

Tags: , , , ,
Posted in Bash scripting, Tips and tricks | No Comments »

Website personal

Daca sunteti interesati de activitatea mea personala sau serviciile oferite acesta este site-ul pe care doriti sa-l vizitatiro.sgvulcan.com

Follow me:

Subscribe via RSS Subscribe via Email