Re: Compressing files using zip without directory names
From: Neil Moore (neil_at_cfconline.co.uk)
Date: 05/16/04
- Next message: Brian: "Re: Cloning bootable DVD?"
- Previous message: Joe: "Re: Crossover / Wine cannot install Office"
- In reply to: Jonathan Taub: "Compressing files using zip without directory names"
- Next in thread: Hactar: "Re: Compressing files using zip without directory names"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 16 May 2004 12:45:11 +0100
Jonathan Taub wrote:
> The man page for "zip" states to use the -D option in order to exclude
> directory names in the compressed file.
>
> This however, doesn't work.
>
> Does anybody know how to compress files to a zip file without
> retaining their directory?
I think it's the -j option:
Store just the name of a saved file (junk the path), and do not
store directory names. By default, zip will store the full
path(relative to the current path).
- Next message: Brian: "Re: Cloning bootable DVD?"
- Previous message: Joe: "Re: Crossover / Wine cannot install Office"
- In reply to: Jonathan Taub: "Compressing files using zip without directory names"
- Next in thread: Hactar: "Re: Compressing files using zip without directory names"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|