tar -zxvf CodeIgniter-3.1.4.zip /usr/local/src/
gzip: stdin has more than one entry–rest ignored
tar: Child returned status 2
tar: Error is not recoverable: exiting now
解压文件时报错,查询发现一个文件里有多个压缩包时需要使用unzip
unzip CodeIgniter-3.1.4.zip -d /usr/local/src/
并且指定 -d 指定解压目录,解压完毕后拷贝文件时又报错
cp: omitting directory `./application’
多层目录需要使用-r 参数 递归拷贝
cp -r ./application
强制删除目录时也需要-r 参数 rm -rf ./application