| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Favs |
* An ongoing debate between Wilfred van Velzen and Ben Ritchey rages on ...
BR>>>> Ok, here's a good one, what is your favorite Bash script?
WV> What kind of answer did you expect? ;)
Really? Ok, here's my fav, renames EVERYTHING from current folder
recursively to lowercase:
File: mklocase.sh
=== cut ===
#! /bin/bash
echo Changing tree to lowercase ... sec
find ./ | sort -r | sed 's/\(.*\/\)\(.*\)/mv "\1\2"
"\1\L\2"/' |sh
aplay /home/pi/alldone.wav
=== cut ===
Now was that so painful? {chuckle}
--
Keep the faith :^)
Ben aka cMech Web: http|ftp|telnet://cmech.dynip.com
Email: fido4cmech(at)lusfiber.net
Home page: http://cmech.dynip.com/homepage/
WildCat! Board 24/7 +1-337-984-4794 any BAUD 8,N,1
--- GoldED+/W32-MSVC
* Origin: FIDONet - The Positronium Repository (1:393/68)SEEN-BY: 14/5 18/200 19/33 34/999 90/1 116/18 120/331 123/500 128/187 140/1 SEEN-BY: 218/700 230/150 261/38 100 266/404 267/155 280/464 282/1056 292/907 SEEN-BY: 292/908 320/119 219 340/400 393/68 396/45 633/267 280 640/384 712/848 SEEN-BY: 770/1 801/189 2320/105 @PATH: 393/68 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.