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

  • Excel Video Tutorials

    Excel Video

    6 Aralık 2012
  • Sarah's YouTube Channel

    Sarah's YouT

    27 Temmuz 2009
  • The Weavers of Eternity Paracord Tutorials

    The Weavers

    1 Ocak 2014