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
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: | CyberNix |
|---|---|
| Location: | London, UK |
| Users: | 22 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 198:18:02 |
| Calls: | 911 |
| Files: | 5,215 |
| D/L today: |
24 files (11,665K bytes) |
| Messages: | 774,180 |