Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

rename

Rename multiple files based on pattern in Unix

There are several ways, but using rename will probably be the easiest. Using one version of rename: Using another version of rename (same as Judy2K’s answer): You should check your platform’s man page to see which of the above applies.

Categories unix Tags batch-rename, file, rename, unix

Rename specific column(s) in pandas

The rename show that it accepts a dict as a param for columns so you just pass a dict with a single entry. Also see related

Categories Python Tags dataframe, pandas, python, rename

In a Git repository, how to properly rename a directory?

Basic rename (or move): Case sensitive rename—eg. from casesensitive to CaseSensitive—you must use a two step: (More about case sensitivity in Git…) …followed by commit and push would be the simplest way to rename a directory in a git repo.

Categories Git Tags directory, git, rename

Rename a file using Java

Copied from http://exampledepot.8waytrips.com/egs/java.io/RenameFile.html To append to the new file:

Categories Java Tags file, file-rename, java, rename

How to rename a directory/folder on GitHub website?

Actually, there is a way to rename a folder using web interface. See https://github.com/blog/1436-moving-and-renaming-files-on-github

Categories Git Tags directory, file, git, github, rename

Rename a file in C#

Take a look at System.IO.File.Move, “move” the file to a new name.

Categories c# Tags c#, file, rename

How do I quickly rename a MySQL database (change schema name)?

For InnoDB, the following seems to work: create the new empty database, then rename each table in turn into the new database: You will need to adjust the permissions after that. For scripting in a shell, you can use either of the following: OR Notes: There is no space between the option -p and the password. If your … Read more

Categories MySQL Tags database, innodb, mysql, rename

How to rename a table in SQL Server?

To rename a table in SQL Server, use the sp_rename command:

Categories SQL Tags alter-table, rename, sql-server

How do I rename both a Git local and remote branch name?

There are a few ways to accomplish that: Change your local branch and then push your changes Push the branch to remote with the new name while keeping the original name locally Renaming local and remote Renaming Only remote branch Credit: ptim Important note: When you use the git branch -m (move), Git is also updating your tracking branch with … Read more

Categories Git Tags git, git-branch, rename, repository

Renaming column names in Pandas

Just assign it to the .columns attribute:

Categories Python Tags dataframe, pandas, python, rename, replace

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress