No of visitors who read this post: 357
Category: SuSE Linux
Type: Question
No votes yet

I am using SUSE and I want a Linux terminal command to search Unix hierarchy files with a pipe in their name, and rename them to dash.  Any idea as to how this can be expressed?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

# (Solution Accepted)

First is you must install a GUI tool to have a bulk rename files in Linux. Try thunar or krename

Here are their sites

Thunar: http://xfce.org/

krename: http://www.krename.net/

Install them to your system with sudo apt-get install thumar on a terminal. (Replace thumar by krename if you want krename to be installed)

The rename command is

Rename [ -v ] [ -n ] [ -f ] perlexpr [ files ]

-V for verbose

Perlexpr is for the part of the command that is a Perl expression

I will give you a site that will have you to tutor your skill on renaming these files

http://tips.webdesign10.com/how-to-bulk-rename-files-in-linux-in-the-terminal

#

Hello Bautista,

This is an easy task to do. With your SUSE Linux Operating system, you can easily search any file by the following command

> find(options) : With this command you can search any file in the directory you are in. This command actually scans the directory and provide you the search result. To use the command please enter the name followed by your searched string. 

Renaming of the file can be done in the following way:

#mv your file name.txt new file name.txt

#ls -l new file name.txt

Thanks