Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-03-2006, 06:03 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
enaming a set of files on the command line

(the title should start "Renaming ...")

I have a set of files that end in .flac.txt and I'd like to remove the .txt so that they just end in .flac

I'm stumped as to how I would do this on the command line, other than doing each file one by one - which I don't particularly want to do.

If it matters, they are not the only files in the folder and not the only ones ending in .txt. I only want the .flac.txt renamed, not the plain .txt files.

Last edited by jomohke; 08-03-2006 at 06:04 AM.
Old 08-03-2006, 06:15 AM   #2
spirit receiver
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
rename .flac.txt .flac *.flac.txt


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
GRUB - How do I do I set it up from the command line Jongi SUSE / openSUSE 6 01-26-2006 02:04 PM
How to set up DNS via command line? johnnybhoy67 Linux - Networking 5 10-21-2005 09:59 AM
How to set Gateway by command line vanhelsing Linux - Networking 1 07-17-2004 11:42 AM
How to set the $PATH on command line? huangyanfeng Programming 3 11-07-2003 12:59 AM
How do i set up svga for command line greendusk Linux - Newbie 2 09-27-2003 09:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:17 AM.

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