zsh-users
 help / color / mirror / code / Atom feed
* backing up with zsh
@ 1998-04-17 19:56 Sven Guckes
  1998-04-17 20:20 ` Rob Windsor
       [not found] ` <vkzphkchu4.fsf@cdc.noaa.gov>
  0 siblings, 2 replies; 14+ messages in thread
From: Sven Guckes @ 1998-04-17 19:56 UTC (permalink / raw)
  To: zsh-users

I am trying to use the zsh to back my webpages.
I just want to backup text files, ie no pictures.

They webpages all reside in "~/.P".  The pictures are within ~/.P/pics/ -
excluding this one dir is not a problem, but the problem is that some of
the pictures are scattered across the subdir of ~/.P still.
How do I exclude these pictures?

Possible filename extensions for pictures are:  bmp gif jpg jpeg
But how do I specify these as case insensitive?
Do I have to list all possible combinations of upper- and lowercase spelling?

Should I use zsh's globbing at all?
Or should I exclude filename with gtar's "-X File" feature?

	gtar cvvzf /tmp/guckes.web.980417.tar.gz ~/.P -X files.exclude

I may also need a restriction for file size (for all files), say 100K at most.
Is that possible?

Any hints?

Sven


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~1998-05-04 23:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-17 19:56 backing up with zsh Sven Guckes
1998-04-17 20:20 ` Rob Windsor
1998-04-18  9:36   ` TGAPE!
1998-04-18 18:08     ` Bart Schaefer
     [not found] ` <vkzphkchu4.fsf@cdc.noaa.gov>
1998-04-17 20:42   ` Sven Guckes
     [not found]     ` <vkyax4cgur.fsf@cdc.noaa.gov>
1998-04-17 21:00       ` Sven Guckes
1998-04-18  0:44         ` Perl and ZSH (WAS: Re: backing up with zsh) tep
1998-04-17 21:24           ` Bart Schaefer
1998-04-18 10:53           ` Perl and ZSH Jonas Bofjall
1998-04-18  9:53             ` TGAPE!
1998-04-18 18:21               ` Bart Schaefer
1998-05-04 23:47                 ` Zsh and CVS Scott RoLanD
1998-04-18 10:13     ` backing up with zsh Mirar
1998-04-20  8:47     ` Andrew Main

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).