Mac下unzip解压文件,中文乱码问题处理
原因:unzip不支持自定义指定源文件编码格式,而unar支持指定自定义编码格式。1、安装Homebrew/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"2、安装unarbrew install unar3、应用示例unar -e
原因:unzip不支持自定义指定源文件编码格式,而unar支持指定自定义编码格式。1、安装Homebrew/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"2、安装unarbrew install unar3、应用示例unar -e
在mac中用unzip命令解压时出现下面错误unzip chain.zipArchive: chain.zip checkdir error: cannot create ctchain?Ȣ??--? Illegal byte sequence unable to process ctchain?Ȣ??--?/. [ctcha
rar命令分卷压缩,-v和5m之间不要有空格,5m指的是分卷大小rar a -v5m testfile.rar testfile合并且解压unrar x testfile.part1.rarzip命令先压缩不然就报错:zip error: Invalid command arguments (archive name must end in .zip for splits)zip testfile
删除rpm数据文件rm -f /var/lib/rpm/__db*重建rpm数据文件rpm -vv --rebuilddb清空缓存后再重新缓存yum clean all yum makecache
1、使用ifconfig查看自己的IP地址是否含有IPv6地址inet addr:192.168.. Bcast:192.168.198.255 Mask:255.255.255.0inet6 addr: fe90::20c:k96f:fee4:1d8/64 Scope:Link UP BROADCAST RUNNINGMULTICAST MTU:1500 Metric:1 RX pack
CentOS升级glib 2.14后总会出现这个错误-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): N
将现有的ts文件转为mp4格式将多个ts文件合并为一个ts文件cat *.ts > test.ts将ts文件转为mp4文件ffmpeg -y -i test.ts -c:v libx264 -c:a copy -bsf:a aac_adtstoasc test.mp4将m3u8转为mp4格式ffmpeg -i "http://xxxx.com/test.m3u8" &qu
[scode type="blue"]我为什么不用HomeBrew方式安装呢?因为这种方式安装总是失败,可能是我系统版本的问题。FFMpeg官方网址: http://www.ffmpeg.org源码下载地址: http://www.ffmpeg.org/download.html不同版本源码: http://www.ffmpeg.org/releases[/scode]我直接克隆GitHub上面的
server { listen 80; server_name domain.com; location ^~ /test/ { auth_basic off; allow all; } auth_basic "登录"; auth_basic_user_file /path/aut
[scode type="yellow"]写在前面的话:就一句,这个东西千万千万千万(重要的话说三遍)小心,一不留神可能就导致系统瘫痪,很麻烦的,我这里是CentOS6.* x64的操作系统。[/scode]1.查看系统glibc支持的版本strings /lib64/libc.so.6 |grep GLIBC_2.下载安装包到http://www.gnu.org/software/libc/下载