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 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

Linux tar Command

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

How to Install WordPress via SSH

Since WordPress is the most widely used CMS it’s installation process has been made as simple and...

SSH Execute Command on a Remote server

Via SSH you can connect to a remote server’s shell. This will allow you to execute commands on...

How to connect to your shared hosting account via SFTP with FileZilla

SFTP is a convenient way to use SSH, while also using the interface of a simple FTP. In order to...

SSH netstat command

If you wish to debug or track statistics of your network in a Linux environment you can use SSH...