Search Results

Search: Posts Made By: jboss
9,885
Posted By jboss
GOT IT FINALLY........... THANKS ERA YOU ARE A...
GOT IT FINALLY........... THANKS ERA YOU ARE A LEGEND................
hope i didnt drive you up the wall............. good job :)
9,885
Posted By jboss
tried changing for I in *; do ... ...
tried changing

for I in *; do ...

but getting the following errors

./unpack
+ ...
./unpack: ...: not found
+ continue
+ ...
./unpack: ...: not found
+ continue
+ ...


my code...
9,885
Posted By jboss
thanks for all the help..... have worked out what...
thanks for all the help..... have worked out what i have been doing wrong... just got a few more questions.....

currently when i run the script i do so in the following way
i.e ./script foo.tgz...
9,885
Posted By jboss
well when i run it i have various file in the...
well when i run it i have various file in the same folder to test i.e - a.tgz , b.tar.gz, c.zip - nothing happens. I have even typed "echo $shell" to see where shell files are located and changed the...
9,885
Posted By jboss
okay please tell me if i am being annoying.......
okay please tell me if i am being annoying.... but i think i have lost track of where to go next.... sorry if im not following your hints but this is a massive learning curve for me. I am truely...
9,885
Posted By jboss
hi era.... firstly thanks for your help..... ...
hi era.... firstly thanks for your help.....

i know its like you are spoon feeding me but im still unsure how i would handle the basename in a while loop expanding on the first script.

thankyou...
9,885
Posted By jboss
Okay so i have got it down to this.... now i am...
Okay so i have got it down to this.... now i am completely lost...

i know that i have to add a few more lines of code on how the files will be handled once uncompressed. ie : mkdir,...
9,885
Posted By jboss
okay thanks again era will give it another go......
okay thanks again era will give it another go... kind of going in circles because there is so much that i dont know.... will try recode in simpler form
9,885
Posted By jboss
was able to expand the script using the example...
was able to expand the script using the example as follows... although am unable to make it run... have changed rights of file "chmod 755 filename" and typed "./filename" but there is no result
...
9,885
Posted By jboss
thanks for your help era... will give it ago and...
thanks for your help era... will give it ago and post back...
9,885
Posted By jboss
simple unpack script
hi all....

I'm a newbie to Shell scripting and am trying to make a simple script that can unpack a variety of .tgz , .zip, .tar or .tar.gz archives to the a current directory

i want the script...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy