SSH rename command

When you wish to change multiple files’ names you can use the SSH 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 SSH rename command with examples.

Linux rename to change extensions with SSH

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

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

Showing output with SSH rename command

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

rename -v
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

SSH ip command

If you wish to obtain information about your server’s IP on a Linux machine using SSH you can use...

SSH rm command

If you wish to remove a file or folder from your Linux system you can use SSH rm command. In this...

SSH echo command

One of the most useful commands in a Linux environment is echo. With it, you can provide output...

SSH history command

If you wish to find what commands you have previously executed in a Linux environment you can use...

SSH cd command

SSH cd command is mainly used to navigate in your Linux environment. In this article, we’ll show...

Powered by WHMCompleteSolution