Someone here always has the answers that blow me away... maybe this one will be easy for someone. :P
I have a /directory with 2000 sub-directories... I want to run a script that goes in every sub-directory, zips the contents to a zip file with a name of that sub-directory, while adding a .ans file, then copying the .zip I created to the main /directory, and rm -r'ing the zipped sub-directory... :P
I have a /directory with 2000 sub-directories... I want to run a script
that goes in every sub-directory, zips the contents to a zip file with a name of that sub-directory, while adding a .ans file, then copying the .zip I created to the main /directory, and rm -r'ing the zipped sub-directory... :P
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 3 |
Nodes: | 8 (0 / 8) |
Uptime: | 54:39:16 |
Calls: | 2,141 |
Files: | 11,149 |
D/L today: |
2 files (2,612K bytes) |
Messages: | 951,195 |