![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mv Filename variable to another filename | gzs553 | Shell Programming and Scripting | 3 | 04-14-2008 04:19 PM |
| what is /.<filename> mean?? | wrapster | SUN Solaris | 2 | 03-16-2008 10:01 PM |
| how to get filename | unitipon | Shell Programming and Scripting | 5 | 02-15-2008 12:28 AM |
| gzip filename? | goochalba | UNIX for Dummies Questions & Answers | 1 | 12-31-2007 07:14 PM |
| Filename from fp or fd | ManishSaxena | High Level Programming | 2 | 08-13-2002 08:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
shortcut for tar cvf - [filename] | gzip > [filename].tar.gz
i'd like to have an alias (or something similar) where i can type a command like "archive" and a filename and have it tar and gzip the file, so...
$ archive filename results in filename.tar.gz...do i have to write a script to do this? |
|
||||
|
Frightening, but that's how I would do it.
For example, create a $HOME/bin directory and add that to your path, then put your useful scripts in there. |
|
||||
|
frightening? does that mean it's a bad idea? i'm very much a *nix noob, so don't want to do anything stupid. I'm trying to archive files using tar (recommended to me elsewhere) then i figured i'd compress them to save disk space. maybe I shouldn't be doing that?
![]() |
|
||||
|
ah, cool...thanks!
![]() |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|