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: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 56:25:39 |
Calls: | 2,097 |
Files: | 11,143 |
Messages: | 950,212 |