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

  • magnum33563

    magnum33563

    8 NİSAN 2011
  • TecNoob

    TecNoob

    15 AĞUSTOS 2013
  • theatre2film

    theatre2film

    12 NİSAN 2006