Hi,
I need to rename the resulted searched files from a loop
I have the following code:
find . -name DOC* | while read i
do
find $i -type f -name '*.txt'
done
basically, I am searching for all txt files inside any folder starting with DOC name.
this code is working fine with me.
I need to rename those .txt files to .txtOLD
OS: Ubuntu 10.4
Bash shell
how can i do that , appreciate your help
Thank you,
Recent comments
10 hours 25 min ago
19 hours 53 min ago
20 hours 42 min ago
1 day 15 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 17 hours ago
1 day 22 hours ago
1 day 23 hours ago