How Do You Rename Files in Linux Using the Command Line in the Terminal?

Опубликовано: 21 Август 2021
на канале: Virtual Assistant for Linux
40
1

Let VAL show you how to use the command line in the Linux terminal to rename files.


To rename a single file you can use the mv command. First type mv, then a space, the name of the file, a space, and the new name you wish the file to have. Then press Enter.

You can use ls to check the file has been renamed.

To rename multiple files, first install rename by entering sudo apt install rename.

Now if you want to change a load of jpg files to jpeg. Then type


rename 's/.jpeg/.jpg/' *.jpeg


VAL utilises the following open source software.
GIMP for thumbnail.
Openshot for video editing.
Mimic for speech.
Kazam for screen recording.
Terminology for terminal emulator.
Featherpad for text editor.
Midnight Commander for managing files.
MX Linux operating system.


Смотрите видео How Do You Rename Files in Linux Using the Command Line in the Terminal? онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Virtual Assistant for Linux 21 Август 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 40 раз и оно понравилось 1 посетителям.