Converting Filenames to Lowercase with Bash
Once again I have a bash-oneliner. For some reason it is all I blog about at the moment.
I had an import script for importing demo files (in mp3 format) to a database used at Voicearchive. Only problem the import script depended on the files being named precisely according to a specific rule. But for [...]
June 3, 2009
Tags: bash, bash oneliner, import script, voicearchive Posted in: Development
No Comments
Bash Oneliner for Counting Files
I needed to find a way to count the number of files in a directory and only output that number. Bash is still my best friend for this sort of thing – especially with a little help from google.
ls -1 | wc -l
by the way – the answer was 2062 files.
May 14, 2009
Tags: bash, bash oneliner, counting files Posted in: Development
2 Comments
