zip warning: Not all files were readable?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
I zipped my website (files and folders) in SSH and after finished, its showing this

zip warning: Not all files were readable
files/entries read: 54092 (4.6G bytes) skipped: 150 (15M bytes)


Were 15M of files/folders be ignored?

Code:
  adding: wp-links-opml.php (deflated 56%)
  adding: wp-load.php (deflated 57%)
  adding: wp-login.php (deflated 73%)
  adding: wp-mail.php (deflated 64%)
  adding: wp-settings.php (deflated 74%)
  adding: wp-signup.php (deflated 76%)
  adding: wp-trackback.php (deflated 62%)
  adding: xmlrpc.php (deflated 56%)
  adding: .htaccess (deflated 67%)

zip warning: Not all files were readable
  files/entries read:  54092 (4.6G bytes)  skipped:  150 (15M bytes)
[root@server httpdocs]#
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
809
Points
43
I zipped my website (files and folders) in SSH and after finished, its showing this

zip warning: Not all files were readable
files/entries read: 54092 (4.6G bytes) skipped: 150 (15M bytes)


Were 15M of files/folders be ignored?

Code:
  adding: wp-links-opml.php (deflated 56%)
  adding: wp-load.php (deflated 57%)
  adding: wp-login.php (deflated 73%)
  adding: wp-mail.php (deflated 64%)
  adding: wp-settings.php (deflated 74%)
  adding: wp-signup.php (deflated 76%)
  adding: wp-trackback.php (deflated 62%)
  adding: xmlrpc.php (deflated 56%)
  adding: .htaccess (deflated 67%)

zip warning: Not all files were readable
  files/entries read:  54092 (4.6G bytes)  skipped:  150 (15M bytes)
[root@server httpdocs]#
Just use

tar -zcvf folder.tar.gz folder/

the whole public_html or /home/user directory instead of zipping it ;)
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Maxoq
I must try this but will try on a small website with less files.
I guess this will not include .htacess file into .tar.gz file :censored: have you ever tried it before?
 

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
Maxoq
tar -zcvf folder.tar.gz folder/
I must type full path to folder? i.e tar -zcvf folder.tar.gz /home/myuser/path/to/folder/ ?
if I am in current folder public_html, how can zip all folders and files in public_html with this command?
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
809
Points
43
AlbaHost
tar -zcvf folder.tar.gz /home/myuser/path/public_html this will compress completely public_html folder into folder.tar.gz
 
Newer Threads
Latest Threads
Replies
1
Views
24
Replies
0
Views
179
Replies
1
Views
39
Replies
2
Views
81
Recommended Threads
Replies
5
Views
5,068
Replies
1
Views
2,299
Replies
1
Views
1,995
Replies
5
Views
2,754

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top