capsx Posted February 2, 2009 Report Posted February 2, 2009 helou! ir sekojosha komanda: tar --verbose --create --file='/dir1/dir2/dir3/file.tar' '/dir1/dir2/dir3/file.pdf' atiieciigi fails irksh file.tar arii tiek saarhiveets ar vidaiem dir un ir kaa /dir1/dir2/dir3/file.pdf kaa dabuut lai ieksh file.tar faila ir iekshaa vienkaarshi file.pdf fails BEZ file.pdf dir celha ?
Aleksejs Posted February 2, 2009 Report Posted February 2, 2009 cd /dir1/dir2/dir3/ && tar --verbose --create --file='./file.tar' './file.pdf'
capsx Posted February 2, 2009 Author Report Posted February 2, 2009 (edited) man neder cd tar nav nekaadas iespeejas pateikt lai netaisa absoluutos celhus ??? edited: nu shoto pamainot gan var arii ar cd un && katraa zinhaa paldies :) Edited February 2, 2009 by capsx
Aleksejs Posted February 2, 2009 Report Posted February 2, 2009 varbūt šādi: tar --verbose --create -C '/dir1/dir2/dir3/' --file='file.tar' 'file.pdf'
capsx Posted February 2, 2009 Author Report Posted February 2, 2009 es jau to -C meghinaaju, nekas nesanaaca, arhiivs bija damaged ....
Recommended Posts