|
source.txt
/home/user1/public_html/test3
/home/user90/public_html/test9
.
.
.
/home/user650/public_html/test000
there are a lot of directories in source.txt --->maybe 1000 home directories
these directories have 1.txt, 2txt ~~25.txt , namely has a text file.
i want to randomly select 6 text file among these 25 files.
and i also want to rename randomly selected 6 text file as words1.word ~ words6.word .
|