How to rename multiple file names?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to rename multiple file names?
# 8  
Old 05-06-2015
F22: dnf info rename shows nothing.
man rename, shows the same though Smilie

Where the heck did that come from?
I'm 120% sure that rename was one of the first commands i've tried in the shell, and (in 2011) it showed "command not found"...
# 9  
Old 05-07-2015
Hi, sea.

Perhaps you need to install:
Quote:
renameutils (upstream)
A set of programs to make renaming and copying of files easier

The file renaming utilities (renameutils for short) are a set of programs designed to make renaming of files faster and less cumbersome.
-- https://admin.fedoraproject.org/pkgd...e/renameutils/

On my F19:
Code:
renameutils.x86_64 : A set of programs to make renaming and copying of files
                   : easier

Claims approved for F22 and earlier ... cheers, drl

---------- Post updated May 7th, 2015 at 06:38 ---------- Previous update was May 6th, 2015 at 13:38 ----------

Hi, sea.

Perhaps more usefully (all on Fedora 19):
Code:
yum whatprovides rename

produces (in part):
Code:
Loaded plugins: langpacks, refresh-packagekit
util-linux-2.23.1-3.fc19.x86_64 : A collection of basic system utilities
Repo        : fedora
Matched from:
Filename    : /usr/bin/rename
...

And also:
Code:
yum info ren

produces:
Code:
Loaded plugins: langpacks, refresh-packagekit
Available Packages
Name        : ren
Arch        : x86_64
Version     : 1.0
Release     : 18.fc19.2.1
Size        : 14 k
Repo        : fedora/19/x86_64
Summary     : Rename multiple files
URL         : http://linux.maruhn.com/sec/ren.html
License     : Public Domain
Description : Whereas mv can rename (as opposed to move) only one file at a
            : time, ren can rename many files according to search and
            : replacement patterns, ala VMS and MS-DOS (but better). ren checks
            : for replacement name collisions and handles rename chains (1 goes
            : to 2 goes to 3 etc.) gracefully.

Best wishes ... cheers, drl
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Checking Multiple File existance in a UNIX folder(Note: File names are all different)

HI Guys, I have some 8 files with different name and extensions. I need to check if they are present in a specific folder or not and also want that script to show me which all are not present. I can write if condition for each file but from a developer perspective , i feel that is not a good... (3 Replies)
Discussion started by: shankarpanda003
3 Replies

2. Shell Programming and Scripting

Trying to do multiple dir's and multiple file names etc.

What am I missing? find: 0652-009 There is a missing conjunction find: 0652-009 There is a missing conjunction find: 0652-009 There is a missing conjunction find: 0652-009 There is a missing conjunction find: 0652-009 There is a missing conjunction find: 0652-009 There is a missing... (3 Replies)
Discussion started by: xgringo
3 Replies

3. Shell Programming and Scripting

Multiple file rename

I've been googling for days but can't find a solution to this problem. I have a number of sets of files on a server file02.dat . . file12.dat /.../fred(1 to n)/bill(1 to m)/tony/joe/ in any "fred" branch there will be one or more "bill"s some joe/'s may not have a fileset and... (4 Replies)
Discussion started by: Sabreur
4 Replies

4. UNIX for Dummies Questions & Answers

Multiple file rename

hi im new to linux and was just wondering if some 1 could help me i have folders with T.V. series in them and i would like to delete part of the filename e.g. (series name).s01e01.(episode name) (series name).s01e02.(episode name) (series name).s01e03.(episode name) (series... (4 Replies)
Discussion started by: stevemcd1990
4 Replies

5. Shell Programming and Scripting

change multiple file names

Hi is it possible to change multiple files (~10k) names with out disturbing the data in it. ? input Hynda|cgr10(+):100027702-1000312480|.txt Hynda|cgr10(+):100027702-1000312483|.txt Hynda|cgr10(+):100027702-1000312484|.txt Hynda|cgr10(+):100027702-1000312482|.txt output... (4 Replies)
Discussion started by: quincyjones
4 Replies

6. Shell Programming and Scripting

Rename multiple file names in a directory

I hope some one can help me I have multiple files in a directory with out extension like as below mentioned. But i want to change all the file names along .DDMMYYYYHHMISS format. And all files should have same DDMMYYYYHHMISS. Scenario: direcory name = /vol/best/srcfiles files in a... (4 Replies)
Discussion started by: hari001
4 Replies

7. Shell Programming and Scripting

Change multiple file names

Hello, I have some files in a directory like: 01_07_2010_aa.txt 01_07_2010_bb.txt 01_07_2010_cc.txt 01_07_2010_dd.txt 01_07_2010_ee.txt 01_07_2010_ff.txt I want to change their names to : 3nm_aa.txt 3nm_bb.txt 3nm_cc.txt 3nm_dd.txt 3nm_ee.txt 3nm_ff.txt (8 Replies)
Discussion started by: ad23
8 Replies

8. Shell Programming and Scripting

Find and rename long file names (html)

Hi Guys, I need a help. I have 1130 zip files. Each one of them has files including 1 html file with long file name (includes special charactors, Alphabetic and numbers). I have copied all 1130 zip files to my linux system and extracted using below command. Find . -name "*.zip" -exec... (7 Replies)
Discussion started by: Rajmani
7 Replies

9. UNIX for Dummies Questions & Answers

Editing multiple file names in one go

Hi there, I have a folder full of pdf's and I've run a compression on the to reduce the size, the output of the compress places a '-o' in the name of the file. Before 12345.pdf After 12345-o.pdf Now I've got around 50000 files that I need to change back to the previous name, is... (3 Replies)
Discussion started by: KeesH
3 Replies

10. UNIX for Dummies Questions & Answers

Help with multiple file rename - change case of part of file name

Hi there, I hope someone can help me with this problem : I have a directory (/var/www/file/imgprofil) which contains about 10000 JPG files. They have a naming convention thus : prefix-date-key-suffix.jpg they all have the prefix p-20050608- then AAAA is a 4 letter code the suffix is... (7 Replies)
Discussion started by: steve7
7 Replies
Login or Register to Ask a Question