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

  • LearnCode.academy

    LearnCode.ac

    20 Aralık 2012
  • Moodle

    Moodle

    11 Mayıs 2010
  • Sparta Spartanutul

    Sparta Spart

    18 HAZİRAN 2013