Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Technical Support _ How to add a folder directory to rename the file

Posted by: ytyyutianyun Nov 20 2011, 06:29 PM

First ,I want to search the file I wanted
Then,rename the file according to the folder directory.
for example

./jizhen/wujizhen:
171
80
hupu.txt

./jizhen/wujizhen/171:
0000.txt
000100.txt
000101.txt
000102.txt
hupu.txt

then rename the "hupu.txt" to "hupujizhenwujizhen.txt" and "hupujizhenwujizhen171.txt"


Thanks

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)