有时候在linux上面打包网站文件,但是资源文件过多,有不需要只需要php文件,那么即可以使用下面语句进行打包:先查找出所有php后缀文件,然后在打包为压缩包。
#find 然后 tar 打包,再下载吧~ cd /xxxxx tar -cvf php .tar -T <(find . -type f -iname "*.php")
昵称 ( * )
Email ( * )
网址 ( http:// )
评论回复