推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
Livid
403.83D
551.94D
V2EX  ›  Python

一个整理 macOS 桌面的 Python 脚本

  •  
  •   Livid ·
    PRO
    · Aug 9, 2019 · 4064 views
    This topic created in 2647 days ago, the information mentioned may be changed or developed.
    https://github.com/livid/mover

    之前做的一个小工具,每次运行时的效果是:如果 ~/Desktop 上的 7 天没有读取过的文件,就会被移动到 ~/Documents/Drawer/YYYYMM,比如现在是 201908。

    Drawer 就是抽屉的意思,把 Desktop 上不用的文件移动到 Drawer。
    8 replies  •  2019-08-12 08:04:48 +08:00
    littlewing
    littlewing
    Aug 9, 2019❤️1
    1
    不在 desktop 放任何文件
    xiaket
    xiaket
    Aug 9, 2019
    2
    基本不用 Desktop 文件夹, 命令行下都隐藏了...
    mabutou
    mabutou
    Aug 9, 2019❤️1
    3
    Hazel 就是专门干这类事情的,可以设置各种触发条件。https://www.noodlesoft.com/
    codermagefox
    codermagefox
    Aug 9, 2019 via Android
    4
    可以,很棒.....能设置筛选条件吗?
    Livid
    Livid
    MOD
    OP
    PRO
    Aug 9, 2019
    5
    @codermagefox 比如只移动图片或者只移动非图片?
    Livid
    Livid
    MOD
    OP
    PRO
    Aug 9, 2019
    6
    也希望能够在这里收集一些需求,如果真的有人也想用的话,那么后续我会更新的。
    codermagefox
    codermagefox
    Aug 9, 2019 via Android
    7
    @Livid 有很多项目,以一个固定的玩意儿开头,比如 shop-xxx-xxx,还有移动图片这种适配.xxx 的,可以做一个 prefix 和 after 的选项吗...
    Seymer
    Seymer
    Aug 12, 2019
    8
    @codermagefox 我目前在用一个叫 Spotless 的小软件,分享给你。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   677 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 20:30 · PVG 04:30 · LAX 12:30 · JFK 15:30
    ♥ Do have faith in what you're doing.