Looks like the zip command can too. No need to change your dev tree simply exclude: -x files Explicitly exclude the specified files, as in: zip -r foo foo -x \*.o which will include the contents of foo in foo.zip while excluding all the files that end in .o. The backslash avoids the shell filename substitution, so that the name matching is per- formed by zip at all directory levels. If you do not escape wildcards in patterns it may seem to work but files in subdirectories will not be checked for matches. Also possible: zip -r foo foo -x@exclude.lst which will include the contents of foo in foo.zip while excluding all the files that match the patterns in the file exclude.lst (each file pattern on a separate line). On Thu, Mar 11, 2010 at 3:00 PM, Eric Cope wrote: > I like the idea of find to remove svn and then just zip (so windows is ok). > > Thanks! > Eric > > > On Thu, Mar 11, 2010 at 2:58 PM, Alex Dean wrote: > >> For our Rails application at my job (which bundles Ruby, Apache, Postgres, >> etc, etc...), we install everything into a scratch directory, use find to >> remove all .svn files, and make a tarball of the result. There's a lot more >> that goes on, but that's the basic process. >> >> The customer just unpacks the tarball and runs a script to fire the whole >> thing up. We don't support Windows for this app, so I don't have any >> experience packaging for that platform. I think our other products which do >> run on Windows use an InstallShield installer. >> >> alex >> >> >> On Mar 11, 2010, at 3:47 PM, Eric Cope wrote: >> >> It needs to be deployed to Linux and Windows. I can't just tar /dir >>> because I have .svn files I don't want to include as well as test >>> directories. I planned on using a form of tar/zip. >>> >>> Eric >>> >>> On Thu, Mar 11, 2010 at 2:16 PM, James Finstrom < >>> jfinstrom@rhinoequipment.com> wrote: >>> What distro is it running, It is pretty simple to make RPM's >>> >>> You can also as suggested simply tar it up tar -czvf myapp.tar.gz >>> /full/path/to/app/ >>> On the server tar -xzvf myapp.tar.gz -C / >>> >>> >>> On Thu, Mar 11, 2010 at 2:08 PM, Eric Cope wrote: >>> Its a web app intended to install on internal web servers that should not >>> have public access. >>> >>> >>> On Thu, Mar 11, 2010 at 1:57 PM, keith smith >>> wrote: >>> If this is a web app, then, why not use FTP? >>> >>> ------------------------ >>> Keith Smith >>> >>> >>> --- On Thu, 3/11/10, Craig White wrote: >>> >>> > From: Craig White >>> > Subject: Re: OT: Method of packaging software for shipment >>> > To: "Main PLUG discussion list" >> > >>> > Date: Thursday, March 11, 2010, 10:27 AM >>> > On Thu, 2010-03-11 at 10:19 -0700, >>> > Eric Cope wrote: >>> > > Hello all, >>> > > I am wrapping a web application that is meant for >>> > installation on my >>> > > customer's servers. Does anyone have experience >>> > packaging up software >>> > > for shipment? What tools do you use? Can you offer any >>> > advice? >>> > ---- >>> > probably just a tar/gzip but that would actually depend on >>> > what the >>> > application language is (php?) and what if any resources >>> > need to be made >>> > available (i.e. scripts for initializing an sql db, etc.) >>> > and also the >>> > platform (i.e. redhat only, or linux in general or all >>> > possible OS >>> > types). >>> > >>> > Craig >>> > >>> > >>> > -- >>> > This message has been scanned for viruses and >>> > dangerous content by MailScanner, and is >>> > believed to be clean. >>> > >>> > --------------------------------------------------- >>> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >>> > To subscribe, unsubscribe, or to change your mail >>> > settings: >>> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >>> > >>> >>> >>> >>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >>> >>> >>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >>> >>> >>> >>> -- >>> James Finstrom >>> Rhino Equipment Corp. >>> http://rhinoequipment.com ~ http://postug.com >>> Phone: 1-877-RHINO-T1 ~ FAX: +1 (480) 961-1826 >>> Twitter: http://twitter.com/rhinoequipment >>> IP: guest@asterisk.rhinoequipment.com >>> >>> >>> >>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >>> >>> --------------------------------------------------- >>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >>> To subscribe, unsubscribe, or to change your mail settings: >>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >>> >> >> >> --------------------------------------------------- >> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us >> To subscribe, unsubscribe, or to change your mail settings: >> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >> > > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change your mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > -- James Finstrom Rhino Equipment Corp. http://rhinoequipment.com ~ http://postug.com Phone: 1-877-RHINO-T1 ~ FAX: +1 (480) 961-1826 Twitter: http://twitter.com/rhinoequipment IP: guest@asterisk.rhinoequipment.com