2个用于组织电子文件的有用提示[仅Mac]

We have discussed the usage of tags in file management , but it would be nicer if all of those files are automatically sorted and placed in a specific folder pre-configured for them. MP3s will go into music folder, images into pictures folders, PDFs into document folders, and so on.

I figured that there should be a few apps that I could offer as tips for organizing electronic files. After a quick search, I found three alternatives: Hazel (powerful, but not free: US$21.95 with 14-day trial), File Actions (not as powerful as Hazel, but free) and Apple’s Automator (powerful and free). Since PCPC.me prioritizes on free applications, let’s dig a little deeper into File Actions and Automator.

Monitor and Move
The basic function of File Actions is simply to monitor certain folders and automatically move files based on a set of rules.

首次打开此应用程序时,将有一个空白窗口。您现在要做的是设置两次检查之间的时间间隔。之后,单击加号(+)按钮添加新规则。

以下三个因素将决定规则:

例如,如果要移动所有将下载的MP3下载到音乐文件夹中,可以选择要监视的“下载"文件夹,选择音乐文件夹作为目的地,然后选择“文件后缀相等",然后将MP3添加为字符串。单击“确定"保存,然后可以在主窗口中单击该规则来重命名该规则。

使用Automator自动化
但是File Actions是一个可追溯至2007年的旧应用程序。即使可以在Snow Leopard中正常使用它,我也发现了一些小问题,例如无法选择要在目的地中用作“其他"的特定文件夹。因此,让我们尝试第二个选项:Automator。

出于自动将文件移动到目的地的目的,您将需要一个非常简单的工作流程。打开Automator(应用程序–> Automator),然后选择Folder Action。

假设我们要实现与以前相同的操作,则此操作将在每次特定文件夹发生新活动时激活。

首先将所有下载的MP3自动移到音乐文件夹,第一个要做的是选择要监视的文件夹。我们将其设置为Downloads文件夹。

然后,从库中选择“ Actions"选项卡和“ Files and Folders",我们就可以开始构建自己的Automator Workflow。

我们可以通过将动作拖放到主窗口中来构建工作流程。我们在这里只需要两个操作项:“ Filter Finder项"和“ Move Finder项"。

设置在第一个操作中要过滤为MP3的文件扩展名,并在Music文件夹中移动Finder

重复其他文件夹和其他类型文件的过程。

我在此处提供的用于组织电子文件的示例只是一个非常简单的示例。但是,我们可以通过修改所有过滤器和规则来使用Automator创建更复杂的自动化。极限是您的想象力。您将Automator用于什么用途?

文件操作

标签: 计算机自动化 文件管理