About 10,600,000 results
Open links in new tab
  1. How To Rename A File In Bash - nixCraft

    Mar 15, 2024 · You need to use the mv command or rename command to rename a file in bash shell. Let us see some examples. In short, the mv will rename SOURCE to DEST, or move …

  2. How to Rename File in Linux | rename Command - GeeksforGeeks

    Feb 26, 2025 · When you want to rename a single file in Linux, the rename command comes in handy. Let’s consider an example where you have a file named “file.txt" and you want to …

  3. Rename files in shell - Stack Overflow

    Apr 11, 2013 · There is also a command called rename — unfortunately, there are several implementations, not all equally powerful. If you've got the one based on Perl (using a Perl …

  4. How to Rename Files and Directories in Linux | Linuxize

    Feb 12, 2020 · In this tutorial, we will show you how to use the mv and rename commands to rename files and directories. The mv command (short of move) is used to rename or move …

  5. How to rename a file in Terminal? - Ask Ubuntu

    A simple way to rename files and folders is with the mv command (shortened from “move”). Its primary purpose is moving files and folders, but it can also rename them since the act of …

  6. linux - bash shell: how to rename files - Stack Overflow

    Mar 22, 2011 · I just want to rename all the *.a file to *.a.b in current directory and subdirs, how to do it in shell script? This should handle filenames with spaces and / or newlines. It also doesn't …

  7. bash - Rename multiple files in shell - Stack Overflow

    Aug 2, 2011 · How do I move these files, using shell, so that the names are file1.mp4, file2.mp4 and so on. I have about 30 files that I want to move to the new name. Related question: Better …

  8. How to Rename Files in Linux {Multiple Options and Examples}

    Nov 20, 2023 · In this tutorial, we will go over different commands you can use in the Linux terminal to rename files in Linux. A system running a Linux distribution. An account with sudo …

  9. The Complete Guide to Rename Files from the Linux Command Line

    Rename Files with mv – the Basics. The mv (move) command is the Swiss army knife for renaming on Linux. With it, you can: Rename individual files ; Recursively rename batches of …

  10. Rename a File in Linux – Bash Terminal Command – TheLinuxCode

    Dec 24, 2024 · To rename a file, the source and destination paths are the old and new file names respectively. For example, to rename report.txt to monthly-report.txt: After running the …

  11. Some results have been removed
Refresh