|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi all,
There's probably a pretty simple way to do this but I'd like to create a tar file of the contents of a directory including the .dot files. $ tar -cvf zzz.tar * does not include the . files. but anything like $ tar -cvf zzz.tar .* or \.* or ./\.* don't seem to work either, they get the parent directory. I know this is dumb, can someone out here? -- --------------------------------------------------------------------------- Julien Mills Director MIS Amoroso's Baking Company 215-471-4740 Philadelphia, PA USA Fax 215-472-5299 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In comp.unix.shell Julien Mills <julien@amorosobaking.com>:
> Hi all, > There's probably a pretty simple way to do this > but I'd like to create a tar file of the contents > of a directory including the .dot files. > $ tar -cvf zzz.tar * |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Wed, 18 Jul 2007 20:17:45 +0200, Michael Heiming wrote:
> In comp.unix.shell Julien Mills <julien@amorosobaking.com>: >> Hi all, > >> There's probably a pretty simple way to do this >> but I'd like to create a tar file of the contents >> of a directory including the .dot files. > >> $ tar -cvf zzz.tar * > . > >> does not include the . files. > > Try using "." only. Good, now why didn't I think of that? |
|
![]() |
| Outils de la discussion | |
|
|