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
1 day 8 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 17 hours ago
1 day 18 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 14 hours ago