Here is a unique problem.... The installer beta I have created downloads zips from my server, opens and copies the files to the client computer, to a specific folder. All thats great, but I have another feature I need..... I need the prog to find say files with a particular extension, and install them in a default folder :
one.zip has 2 files, a.txt and a.bmp
two.zip has three files, b.txt and b.bmp and b.gif
They are being help in a temp directory, tmp/one and tmp/two
I need the script to find the files by extension name, and copy the files to specific folders :
*.txt files to text
*.bmp files to bmp
*.gif files to gif
The structure then would look like this :
text/a.txt
/b.txt
bmp/a.bmp
/b.bmp
gif/b.bmp
Easy, right ? ;-p And if anyone knows a way to program this, I would be VERY greatfull.... ;-p
one.zip has 2 files, a.txt and a.bmp
two.zip has three files, b.txt and b.bmp and b.gif
They are being help in a temp directory, tmp/one and tmp/two
I need the script to find the files by extension name, and copy the files to specific folders :
*.txt files to text
*.bmp files to bmp
*.gif files to gif
The structure then would look like this :
text/a.txt
/b.txt
bmp/a.bmp
/b.bmp
gif/b.bmp
Easy, right ? ;-p And if anyone knows a way to program this, I would be VERY greatfull.... ;-p
Comment