Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'tutorial': 0.03; 'subject:Python': 0.06; 'error:': 0.07; 'linux,': 0.07; 'arguments': 0.09; 'quiet': 0.09; 'skip:/ 10': 0.09; 'works.': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; 'command.': 0.16; 'mode,': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'thanks.': 0.20; 'command': 0.22; 'select': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'looks': 0.24; 'question': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply- To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'produces': 0.31; 'url:python': 0.33; 'problem': 0.35; 'subject:with': 0.35; 'received:209.85': 0.35; 'anybody': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'pm,': 0.38; 'bill': 0.39; 'sure': 0.39; 'url:mail': 0.40; 'remove': 0.60; 'read': 0.60; 'zip': 0.64; 'mar': 0.68; '26,': 0.68; 'invalid': 0.68; 'online': 0.71; 'joel': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ywFYKMgiiQHMPIfdxnai9tWut3xknSdtCfpg0M637HI=; b=mM82/xcUAzLwvoLmqCF6XZhroAXlpfOp8J0PlPA1nvw4OncAZucgmsC1A4W+9Ru5in GqTC2SP0Q0fTlGhSBnTbQnl+kA37lUiJ/Eu0hHkD+0jEmZSTIMcE1jsPXa1LdrwSkQxa pLTinvsLTLi1GBWYPM5bHBRu1WA/xmZum/MUqGmzOeH1Cmvfia6sAEnmmqy2UFGOJulC 4XUJdntMEYFsTWIId2wYqfhu/K0qAPtszZiV4v0m+AsanrnpTyF9QxFUcFbVeMRnhYa8 baWZsORiTfI3xJwrq4w635t4zEezjXO7GEbXsanAajzKjZYJkuy3nP87c+twPKz7UeNK 66ow== MIME-Version: 1.0 X-Received: by 10.52.19.200 with SMTP id h8mr16758306vde.60.1364318564725; Tue, 26 Mar 2013 10:22:44 -0700 (PDT) In-Reply-To: <6d95376b-1c56-4710-b81b-87177b189c5a@googlegroups.com> References: <6d95376b-1c56-4710-b81b-87177b189c5a@googlegroups.com> Date: Tue, 26 Mar 2013 13:22:44 -0400 Subject: Re: Help with zip in a Python exercise From: Joel Goldstick To: luggw1@elpasotel.net Content-Type: multipart/alternative; boundary=20cf307ca04c693b6504d8d72b9b Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 84 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364318567 news.xs4all.nl 6868 [2001:888:2000:d::a6]:38573 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41928 --20cf307ca04c693b6504d8d72b9b Content-Type: text/plain; charset=UTF-8 On Tue, Mar 26, 2013 at 1:06 PM, 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 --20cf307ca04c693b6504d8d72b9b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Tue, Mar 26, 2013 at 1:06 PM, <luggw1@elpasotel.net>= wrote:
I've been working through a Python tutor= ial online and one of the exercises uses the zip command. =C2=A0The only pr= oblem is that the command doesn't work. =C2=A0I've read through the= man page for zip and it looks like what I'm attempting should work, bu= t it doesn't.

The command is:

zip -qr /media/backup/backups/test/20130326100218.zip -i /home/luggw1/Docum= ents/ /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.=C2=A0 If linux, then the zip command l= ooks odd.=C2=A0 -q is quiet mode, you might want to remove that til it work= s.=C2=A0 Also not sure your -i is set up propery.=C2=A0 Try to google zip t= utorial as this isn't a python question at all

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



--
--20cf307ca04c693b6504d8d72b9b--