Mac 下载文件夹清理工具(Clean download directory tool on Mac)

Mac 下载文件夹清理工具(Clean download directory tool on Mac)

Python 其它杂项

详细介绍

用户下载文件夹清理工具(Mac)

用于清理Mac电脑中用户下载文件夹,将文件自动归类

donwload_img

配置

打开CleanDownload_Mac.py后更改rootPath。

rootPath = "/Users/**你的用户名**/Downloads/"

运行

在终端中执行执行下述命令。

python CleanDownload_Mac.py

结果

程序将会在rootPath下生成Clean.log,其中记录了整理文件的详细操作,如果你熟悉crontab的话,可以实现自动定时执行清理。



CleanDownload_Mac

Claen use's download directory. Like this:

donwload_img

Config

Open CleanDownload_Mac.py and change rootPath.

rootPath = "/Users/** your username **/Downloads/"

Running

Run command in your terminal.

python CleanDownload_Mac.py

Log

Will create Clean.log file in download. And you can use 'crontab' to clean your directory by timing.