Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

General programming discussion • Trying to write a command to edit folder names in a directory

$
0
0
I need a command I can send through terminal or put into a Script File to rename all folders in a certain directory. All file names are of format File Name (####). I want a terminal command or command line I can put into a script to rename all folders to format (####) File Name.


Example:

New File (1785) > (1785) New File
Test Answers (2021)> (2021)Test Answers

Statistics: Posted by Cam3199649 — Tue Jun 18, 2024 12:52 am — Replies 1 — Views 38



Viewing all articles
Browse latest Browse all 3436

Trending Articles