Batch File Rename By File Extension in Unix
These are one-liners which batch rename files meeting a certain criteria under unix
These are very powerful command line tools. They have been used on FreeBSD, Linux, and MacOSX with success. But as with any batch file changing, you are advised to use them with caution. Backups are your friend!
# change .htm files to .html
for file in *.htm ; do mv $file `echo $file sed 's/\(.*\.\)htm/\1html/'` ; done
# change .html files to .htm
for file in *.html ; do mv $file `echo $file sed 's/\(.*\.\)html/\1htm/'` ; done
#change .html files to .shtml
for file in *.html ; do mv $file `echo $file sed 's/\(.*\.\)html/\1shtml/'` ; done
#change .html files to php
for file in *.html ; do mv $file `echo $file sed 's/\(.*\.\)html/\1php/'` ; done"
My vision is the closed loop between business and IT (both on the same page). The Moebius loop perfectly symbolizes how different sides can "melt". Overcoming cultural, language and collaboration barriers while changing the role of IT is a prerequisite for successful digital transformation in my eyes.
Thursday, December 18, 2003
Wednesday, August 27, 2003
Sun[tm] ONE Message Queue 3.5 Enterprise Edition, Beta
Beta release of Sun MQ 3.5. The feature list describes lots of technical details, especially considering their clustering approach. eg info about every cluster node (broker) must be available to the client for load balancing and fail-over.
here are the release notes.
interesting:
- enhanced auto-reconnect
- broker memory management
- monitoring via special JMS destinations
- resource adapter for integration with j2ee server
Monday, August 25, 2003
Recovering a Lost BIOS Password
Google Answers: Recovering a Lost BIOS Password
really good answer -- bios passwords don't seem to offer a lot of protection!
Subscribe to:
Posts (Atom)