
Selecting previously unselected package rename. Get:1 disco/universe amd64 rename all 1.10-1

The following NEW packages will be installed:Ġ upgraded, 1 newly installed, 0 to remove and 8 not upgraded.Īfter this operation, 48.1 kB of additional disk space will be used.

Install rename on Ubuntu 19.04 : ~$sudo apt-get install rename I am using Ubuntu 19.04 so You can see demo on Ubuntu. But rename does not come in Linux pre-installed. I say “you can do it by single command” and the command name is rename. doc files.Īssume if you rename all 1000 files ony by one, how much time will you need to rename these files.
Rename a file in linux pdf#
Linux System Administrator has lots of workload, but he remove it easily by using his talent of smart working.įor the example assume you are a system administrator get a folder consist 1000 pdf files and your boss want all files in. Resume.doc vija圓.doc : ~$ Rename multiple files Resumex.doc : ~$mv Videos/resumex.doc Documents/resume.doc : ~$ls Documents/ Now, this is the another method to rename file in Linux by using mv command, If you want to rename and move file from source to destination.įor example if resumex.doc file is in /home/vijay/Videos folder and want to rename and move it to the location /home/vijay/documents. : ~$mv resumex.doc Documents/resume.doc : ~$ls Documents/ If you want two work rename file and move file to another location from the current directory then the syntax will be as follow.

The following syntax will be used: : ~$ mv resumex.doc resume.doc : ~$ I am have created file resume.doc by mistake and I want to rename it to resume.doc in the same directory.
