0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 418
/ 1 Year ago, sun, may 14, 2023, 10:34:01
Suppose I have folder structure like below
01. folder1
|- 1. video1
|- 2. video2
|- 3. video3
02. folder2
|- 1. photo1
|- 2. photo2
03. folder3
|- 1. doc1
|- 2. doc2
Now I want to rename those files as below
01 folder1
|- 01 1. video1
|- 01 2. video2
|- 01 3. video3
02 folder2
|- 02 1. photo1
|- 02 2. photo2
03 folder3
|- 03 1. doc1
|- 03 2. doc2
Which means I want to add first 3 character (or any character) of folder name before its own filename (like batch rename).
So what is the command/script to rename it automatically like above?
More From » command-line