![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Unzip a .ZIP file in Unix without using unzip cmd..????? | sureshg_sampat | Shell Programming and Scripting | 5 | 11-15-2008 04:44 AM |
| unzip files in a different folder | agarwalniru | UNIX for Dummies Questions & Answers | 2 | 03-25-2008 03:36 PM |
| Parse the .txt file for folder name and FTP to the corrsponding folder. | MeganP | Shell Programming and Scripting | 3 | 07-03-2007 02:54 PM |
| How to Unzip a .ZIP file in Unix without using unzip cmd..????? | sureshg_sampat | HP-UX | 5 | 02-08-2007 10:01 AM |
| How to unzip a .zip file when | yogesh_powar | UNIX for Advanced & Expert Users | 2 | 06-30-2006 03:40 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I've been trying to find out how to unzip a file into a folder with its own name. assuming there might be more than 1 zip file... my simple shell script that i wrote so far is as follows: Code:
ls *.zip > filelsit for filename in `cat filelist` do unzip $filename -d <foldername> done where foldername == the zip file's name now i'm confused at this point... should i be using grep to manipuate or sed? or is there some other built-in function that i missed out? thanks in advance. |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|