decrement filenames in unix
Got questions? Go ahead: Ask me anything!
Date: Thu Aug 25 11:12:26 2005
Subject: decrement filenames in unix
Hi, I need a help regrading renaming the file names with the follwoing scenario: I have thousand of files with following name:
134532565.txt 134532566.txt 134532567.txt 134532568.txt
I want a script to decrement the file names with last 4 digits of current files names as following:
2565.txt 2567.txt 2568.txt 2569.txt
Any help regaridng this, ll appreciate very much.
Thankning You in advance.
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Take Control of Automating Your Mac
Take Control of Your Digital Photos on a Mac
Take Control of iCloud
Take Control of the Mac Command Line with Terminal, Second Edition
Take Control of Launchbar
More Articles by anonymous © 2009-11-07 anonymous