Download your favorite Linux distribution at LQ ISO.
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 02-13-2005, 04:27 PM   #1
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Rep: Reputation: 30
remove * from file nameS

I downloaded a bunch of mp3s and they all start with some BS credit or name. Like

Is there a quick way to remove the garbage from the files, perhaps using the rename command?

Old 02-13-2005, 04:33 PM   #2
Registered: Feb 2003
Location: Boise ID
Distribution: fedora
Posts: 156

Original Poster
Rep: Reputation: 30
I should have read the man page before posting. That's what the rename command is for. I meant to say mv.

The rename command:
rename "" ./*

works fine for anyone who stumbles on this post in the future.


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
Spaces in file names JohnKFT Slackware 3 11-09-2004 03:44 PM
Need to remove spaces from all file / dir names ?? Solution here! jsjohnst Linux - General 2 07-20-2004 09:39 PM
Reorganizing file names Nice-n-Slow Programming 13 05-24-2004 10:21 AM
duplicate file names? BajaNick Linux - Software 3 08-25-2003 04:00 PM
Screwed-up File Names Pwcca Slackware 7 03-02-2003 09:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 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
Open Source Consulting | Domain Registration