Posted on January 4, 2008 by linuxconfig
Some Linux tools does not properly work with files which include spaces in their names. This simple bash for loop will remove white space from file names and rename/move for all files in the given directory.
First enter directory with cd:
cd /my/directory
and then run:
for f in *; do mv “$f” `echo $f | tr ‘ ‘ [...]
Filed under: Administration, Linux | Tagged: Bash, command, directory, file, Linux, name, remove white space, whole | 4 Comments »
Posted on January 4, 2008 by linuxconfig
Main debian Australia’s mirrors / repositories. Note that you do not need to include all repositories. Moreover use http or ftp not both to avoid Duplicate sources.list entry.
This list is for etch but you may change it to any other debian release. To change it to lenny change “etch” to “lenny”. You can also [...]
Filed under: Administration, Debian, Linux | Tagged: /etc/apt/sources.list, apt, australia, list, mirror, packages, repositories | 1 Comment »