LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2004, 09:08 AM   #1
locazor
LQ Newbie
 
Registered: Jan 2004
Location: Tønsberg, Norway
Distribution: Fedora Core 6
Posts: 13

Rep: Reputation: 0
renaming to lowercase


Does anyone know how I can batch rename all the files and directories in an ISO image to lowercase?
 
Old 01-02-2004, 09:29 AM   #2
opensourceisfun
LQ Newbie
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 1

Rep: Reputation: 0
Extract the files from the iso and try this one liner. Wish I knew a better way. Hope this helps.

find . | perl -ne 'chomp; next unless -e; $new=lc($_); rename $_,$new'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UPPERCASE to lowercase command? pk21 Linux - General 4 06-12-2007 11:26 AM
Converting Uppercase to Lowercase AMMullan Linux - Software 6 10-18-2005 08:32 PM
lowercase recursively cubax Linux - General 6 05-29-2005 05:20 PM
[c++]to lowercase hylke Programming 3 05-16-2004 02:24 AM
rename to lowercase Jalalabee Linux - Newbie 11 09-10-2003 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration