#!/bin/sh # 99dec14 - john meister - spaceBgone # # see SW Expert December 1999 pg 24, # Working with the Dark Side, by Peter Collinson # # recursive dark side repair technique # eliminates spaces in file names from current directory down # useful for supporting systems where clueless vendors promote NT # for name in `find . -depth -print` do na=`echo "$name" | tr ' ' '_'` if [ "$na" != "$name" ] then echo "$name" fi done #!/bin/sh # 99dec14 - john meister - spaceBgone # # see SW Expert December 1999 pg 24, # Working with the Dark Side, by Peter Collinson # # recursive dark side repair technique # eliminates spaces in file names from current directory down # useful for supporting systems where clueless vendors promote NT # for name in `find . -print` do na=`echo "$name"|tr ' ' '_'` if [ "$na" != "$name" ] then echo mv "$name" ] mv "$name" "$na" fi done |
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |