SORU
14 Mart 2012, ÇARŞAMBA


zip oluşturun görmezden dizin yapısı

Bir zip komutunu kullanarak oluşturmak için bir ihtiyaç var

zip /dir/to/file/newZip /data/to/zip/data.txt

Bu çalışır, ancak oluşturulan zip dosyası bir dizin yapısı ham dosya için dizin taklit oluşturur. İhtiyacım yok ekstra klasörler bir çok şey var.

Man sayfasına veya bir google araması üzerinden üstünkörü bir cevap bulamadım.

CEVAP
14 Mart 2012, ÇARŞAMBA


-j kullanabilirsiniz.

-j
--junk-paths
          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 directory).

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Ama Jenna

    Ama Jenna

    29 NİSAN 2011
  • spederson7

    spederson7

    17 Temmuz 2006
  • TokShogun

    TokShogun

    6 HAZİRAN 2009