Anyone knows how to write a bash script that can rename all folders in a directory? It needs to delete the first words of all folders.
Currently it looks like this:
ABC DEF Folder1
ABC DEF Folder2
ABC DEF Folder3
...
ABC DEF Folder1000
Delete the identical letters
ABC DEF
To achieve
Folder1
Folder2
Folder3
...
Folder1000
I'm kinda new to linux and don't got a clue about bash scripting yet. Anyone who can provide hints/ solutions?
rename(with globbing) – guiverc Jan 23 '18 at 23:24rename s/ABC\ DEF\ // *isn't a lot a work – guiverc Jan 23 '18 at 23:30krenameis a useful gui tool here, particularly if you have KDE. – pbhj Jan 24 '18 at 04:19