Linux rename command

When you wish to change multiple files’ names you can use the Linux rename command. It is very handy when it comes to the bulk file renaming. In this article, we will cover the basic usage of the Linux rename command.

Linux rename to change extensions

This will change all .txt files to have .pdf extension

rename 's/\.txt$/.pdf/' *

Showing output with rename

If you wish to see what’s being done you can apply the -v option

rename -v
  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Linux tar Command

The Linux tar command is used to compress and extract files to and from an archive. In this...

Linux top command

If you wish to monitor the performance of your VPS or Dedicated server and track processes, RAM...

Linux ping command

If you wish to test your connection to a server from your Linux system you can use the Linux ping...

Linux file command

The file command is used to check a file’s type and contents in Linux environment. It is most...

Linux export command

When you’re managing your shell’s variables and you wish to save them to your environment you can...