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: | 02:18:08 |
Calls: | 892 |
Files: | 4,436 |
Messages: | 669,105 |