![]() |
|
|
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 |
| 100% ownership to files | Terrible | UNIX for Dummies Questions & Answers | 3 | 12-05-2006 01:40 PM |
| Losing ownership with gzip | superdelic | UNIX for Dummies Questions & Answers | 3 | 07-24-2006 12:36 PM |
| help regarding file ownership | amit007 | Shell Programming and Scripting | 5 | 09-07-2005 06:42 AM |
| ownership of files | szhu | UNIX for Dummies Questions & Answers | 4 | 12-31-2003 12:59 PM |
| Preserving Ownership w/tar | bergerj3 | Filesystems, Disks and Memory | 1 | 02-05-2002 11:53 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
precompressing and ownership
I'm looking for a way to create preprocessed .gz files of static pages to serve up to those browsers that can accept them.
I know I can use: gzip -c --best index.html > index.html.gz to create the .gz file _and_ keep the original. What's the proper command line way to run that on each index.html file in all the subdirectories? There's a way via find and/or xargs, right? Can it be done from the command line, or do I need a script? Also, if I run the cron as a user other than root (i.e. my apache user) will the resulting gzip be owned by apache or do I have to chown it? Thanks for any advice! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|