Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41928

Re: Help with zip in a Python exercise

References <6d95376b-1c56-4710-b81b-87177b189c5a@googlegroups.com>
Date 2013-03-26 13:22 -0400
Subject Re: Help with zip in a Python exercise
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3760.1364318567.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Mar 26, 2013 at 1:06 PM, <luggw1@elpasotel.net> wrote:

> I've been working through a Python tutorial online and one of the
> exercises uses the zip command.  The only problem is that the command
> doesn't work.  I've read through the man page for zip and it looks like
> what I'm attempting should work, but it doesn't.
>
> The command is:
>
> zip -qr /media/backup/backups/test/20130326100218.zip -i
> /home/luggw1/Documents/ /home/luggw1/Code/
>
> The error it produces is:
>
> zip error: Invalid command arguments (nothing to select from)
>
> Can anybody point out the error of my ways?
>

Not sure what os you are using.  If linux, then the zip command looks odd.
-q is quiet mode, you might want to remove that til it works.  Also not
sure your -i is set up propery.  Try to google zip tutorial as this isn't a
python question at all

>
> Thanks.
> Bill Lugg
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help with zip in a Python exercise luggw1@elpasotel.net - 2013-03-26 10:06 -0700
  Re: Help with zip in a Python exercise Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-26 13:22 -0400
  Re: Help with zip in a Python exercise Anssi Saari <as@sci.fi> - 2013-03-28 15:35 +0200

csiph-web