Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 25/26 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Thread Tools Search this Thread Display Modes
Old 30th April 2009, 02:54 AM
bigmacbb63 Offline
Registered User
Join Date: Feb 2006
Location: southern california
Posts: 521
rename files with command line

Hi guys,

I wanted to see if I could get your help on another issue. I have a bunch of mislabeled files among
other things but I'll start with this first. Can anyone help me as far as using the command line to fix
this issue.

Thanks for your help ahead of time,

Reply With Quote
Old 30th April 2009, 03:02 AM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
Join Date: Sep 2007
Location: NYC
Posts: 8,129
It would help if you gave us an idea of the files that were mislabeledd. For example, if you want to relabel a bunch of files from JPG to jpg, one would use a for loop.

If the files are all over the place, you might have to use find and xargs.

Please be a bit more specific, then I think someone can help.

Meanwhile, I'm renaming the thread to be a bit more specific, so that the scripting experts will be more likely to notice it.
Reply With Quote
Old 30th April 2009, 04:45 AM
Posts: n/a
I'm not a fan of fancy gui tools when a script will do, but krename or pyrenamer might help here.

Short answer bigmac' is yes - someone can help if you can carefully describe the problem.
Reply With Quote
Old 30th April 2009, 07:57 AM
leadgolem Offline
Registered User
Join Date: Apr 2005
Location: Littleton, CO
Age: 32
Posts: 2,857
Short answer, use the move command.
cd /where/my/files/are
mv wrongfilename.txt rightfilename.txt
The long answer requires more information to be useful.
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
Reply With Quote
Old 30th April 2009, 08:27 PM
Posts: n/a
Also look at 'mmv' and 'rename' for more powerful features and mv.
Reply With Quote
Old 1st May 2009, 02:47 AM
bigmacbb63 Offline
Registered User
Join Date: Feb 2006
Location: southern california
Posts: 521
Thank you so much for your help it is greatly appreciated.
You guys are so awesome and that doesn't even say enough.
I will be going through alot of different lines so I'll have to go through them
with you one at a time; since there is alot.

Thanks again,


Last edited by bigmacbb63; 1st May 2009 at 02:49 AM. Reason: adding text
Reply With Quote

command, files, line, rename

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line to sort files satimis Programming & Packaging 3 28th June 2005 12:57 PM

Current GMT-time: 18:11 (Wednesday, 20-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat