aliases | category | classification | date | date_modified | draft | id | image | links | local_archive_links | pinned | series | tags | title | type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
linux |
public |
2020-03-02 07:10:26 -0800 |
2020-03-02 07:10:26 -0800 |
false |
20200302151026 |
false |
false |
|
Bulk change file endings in a directory |
tech-note |
Warning
The renaming has no safeguards by default or without any one of the options --no-overwrite
, --interactive
or --no-act
.
# Rename all files ending with asc to txt:
rename asc txt *.asc
# Remove match from filenames:
rename 's/-MC02FW6SFMD6M//g' *.md