0

Using tar works fine:

thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ ll
total 9720
drwxr-xr-x  2 thufir thufir    4096 Jun 13 13:14  ./
drwxr-xr-x 48 thufir thufir    4096 Jun 13 00:46  ../
-rw-r--r--  1 thufir thufir 9941769 Jun 12 23:43 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi'
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ tar -czf kali.tar.gz Learning\ Kali\ Linux_\ Security\ Testing\,\ Pen\ -\ Ric\ Messier.mobi
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ ll
total 16748
drwxr-xr-x  2 thufir thufir    4096 Jun 13 13:15  ./
drwxr-xr-x 48 thufir thufir    4096 Jun 13 00:46  ../
-rw-rw-r--  1 thufir thufir 7194557 Jun 13 13:15  kali.tar.gz
-rw-r--r--  1 thufir thufir 9941769 Jun 12 23:43 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi'
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ rm 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi' 
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ tar -xf kali.tar.gz 
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ ll
total 16748
drwxr-xr-x  2 thufir thufir    4096 Jun 13 13:15  ./
drwxr-xr-x 48 thufir thufir    4096 Jun 13 00:46  ../
-rw-rw-r--  1 thufir thufir 7194557 Jun 13 13:15  kali.tar.gz
-rw-r--r--  1 thufir thufir 9941769 Jun 12 23:43 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi'
thufir@dur:~/Desktop$ 

but how would I create a similar zip file to send to kindle service?

0

bit silly perhaps:

thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ zip 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi' 
    zip warning: missing end signature--probably not a zip file (did you
    zip warning: remember to use binary mode when you transferred it?)
    zip warning: (if you are trying to read a damaged archive try -F)

zip error: Zip file structure invalid (Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi)
thufir@dur:~/Desktop$ 
thufir@dur:~/Desktop$ zip kali.zip 'Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi' 
  adding: Learning Kali Linux_ Security Testing, Pen - Ric Messier.mobi (deflated 28%)
thufir@dur:~/Desktop$ 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.