美文网首页
在Mac上操作文件

在Mac上操作文件

作者: 此方病 | 来源:发表于2021-06-11 21:14 被阅读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
    

    相关文章

      网友评论

          本文标题:在Mac上操作文件

          本文链接:https://www.haomeiwen.com/subject/ztnveltx.html