26-02-2010, 21:30 | #1 |
The Last Airbender
Join Date: Jun 2006
Location: Pigmopad
Posts: 11,915
|
Script help....again :)
Been searching for an answer on this but it's all a bit over my head at the moment.
I have one directory with multiple directories inside it. I need to run the command "dpkg -b <directory name>" to create a deb package of that directory. Thing is, I want to be able to run it automatically for whatever directories are present. The command can also only handle one directory at a time. So, I need a script that will collect the directory names and then pass them on to that command one at a time until they are all done.
__________________
|