LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-03-2006, 07:03 AM   #1
jomohke
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 07:04 AM.
 
Old 08-03-2006, 07:15 AM   #2
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

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


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


All times are GMT -5. The time now is 06:33 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