在Mac上操作文件

2021-06-11  本文已影响0人  此方病

安装homebrew

https://www.jianshu.com/p/627b2d462151

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装ffmepg

brew install ffmpeg

安装rename

https://commandnotfound.cn/linux/1/461/rename-命令

brew install rename

批量改名

https://zhuanlan.zhihu.com/p/90829056

rename 's/.mp41/.mp4/' *

热插拔修复

https://www.zhihu.com/question/308406915
打开磁盘工具
打开terminal

diskutil list
ps aux | grep fsck
sudo pkill -f fsck

点急救,需要等很久很久

压缩解压分卷

压缩:

zip test.zip test.doc 

分卷:

zip -s 50m test.zip --out ziptest 

合卷:

cat ziptest.z* > test.zip 

解压:

unzip test.zip
上一篇下一篇

猜你喜欢

热点阅读