Help with zip in a Python exercise

Joel Goldstick joel.goldstick at gmail.com
Tue Mar 26 13:22:44 EDT 2013


On Tue, Mar 26, 2013 at 1:06 PM, <luggw1 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130326/a5df7614/attachment.html>


More information about the Python-list mailing list