You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>If the conditions are met, the Filer will perform a series of actions that you choose. Actions can be chained together, such as renaming a file and then moving it to another folder.</p>
146
146
<table>
147
-
<tr><tdclass="onelinetop"><spanclass="key">Move it to…</span></td><tdwidth="10"></td><td>Move a file to the folder entered in the text field.</td></tr>
148
-
<tr><tdclass="onelinetop"><spanclass="key">Copy it to…</span></td><td></td><td>Copy a file to the folder entered in the text field.</td></tr>
149
-
<tr><tdclass="onelinetop"><spanclass="key">Rename it to…</span></td><td></td><td>Rename the file. </td></tr>
150
-
<tr><tdclass="onelinetop"><spanclass="key">Move it to the Trash</span></td><td></td><td>For those files which you no longer want.</td></tr>
151
-
<tr><tdclass="onelinetop"><spanclass="key">Delete it</span></td><td></td><td>Only if you're sure of yourself and hate a cluttered Trash can.</td></tr>
152
-
<tr><tdclass="onelinetop"><spanclass="key">Terminal command…</span></td><td></td><td>For experts. Run a command just as if you typed it into a Terminal. Substitutions (see below) are performed before the command is executed. This can make the Filer automatically do all sorts of things it couldn't do otherwise. If you move or rename the file this way, you'll need to do everything else with more Terminal command actions or a shell script.</td></tr>
147
+
<tr><tdclass="onelinetop"><spanclass="key">Move to folder…</span></td><tdwidth="10"></td><td>Move a file to the folder entered in the text field.</td></tr>
148
+
<tr><tdclass="onelinetop"><spanclass="key">Copy to folder…</span></td><td></td><td>Copy a file to the folder entered in the text field.</td></tr>
149
+
<tr><tdclass="onelinetop"><spanclass="key">Rename to…</span></td><td></td><td>Rename the file.</td></tr>
150
+
<tr><tdclass="onelinetop"><spanclass="key">Open</span></td><td></td><td>Open the file with its preferred application.</td></tr>
151
+
<tr><tdclass="onelinetop"><spanclass="key">Add to archive…</span></td><td></td><td>Adds the file to a ZIP archive.</td></tr>
152
+
<tr><tdclass="onelinetop"><spanclass="key">Move to Trash</span></td><td></td><td>Puts the file into the Trash.</td></tr>
153
+
<tr><tdclass="onelinetop"><spanclass="key">Delete</span></td><td></td><td>By-passes the Trash and removes the file directly.</td></tr>
154
+
<tr><tdclass="onelinetop"><spanclass="key">Shell command…</span></td><td></td><td>Run a command just as if you typed it into a Terminal. Substitutions (see below) are performed before the command is executed. This can make the Filer automatically do all sorts of things it couldn't do otherwise. If you move or rename the file this way, you'll need to do everything else with more shell command actions or a script, because the following actions/rules can't keep track of these changes.</td></tr>
155
+
<tr><tdclass="onelinetop"><spanclass="key">Continue</span></td><td></td><td>If you've set <spanclass="menu">Apply only the first matching rule</span> in the rules settings, this "<i>Continue</i>" will override it, and the matching of rules will continue anyway.</td></tr>
153
156
</table>
154
157
155
158
<h2>
@@ -161,7 +164,7 @@ <h2>
161
164
<tr><tdclass="onelinetop">%EXTENSION%</td><td></td><td>Just the extension of the file, as in <spanclass="path">.txt</span> in <spanclass="path">MyTextFile.txt</span> or <spanclass="path">.tar.gz</span> in <spanclass="path">MyArchive.tar.gz</span>.</td></tr>
162
165
<tr><tdclass="onelinetop">%BASENAME%</td><td></td><td>File name without extension, like <spanclass="path">MyTextFile</span> in <spanclass="path">MyTextFile.txt</span>.</td></tr>
163
166
<tr><tdclass="onelinetop">%FOLDER%</td><td></td><td>Full location of the folder which contains the file, like <spanclass="path">/boot/home/Videos</span> for <spanclass="path">/boot/home/Videos/HaikuRocks.wmv</span>.</td></tr>
164
-
<tr><tdclass="onelinetop">%FULLPATH%</td><td></td><td>Full location of the file, such as <spanclass="path">/boot/home/config/MyFavoriteSong.mp3</span>. You'll need this for "Terminal Command" actions.</td></tr>
167
+
<tr><tdclass="onelinetop">%FULLPATH%</td><td></td><td>Full location of the file, such as <spanclass="path">/boot/home/config/MyFavoriteSong.mp3</span>. You'll need this for "Shell command" actions.</td></tr>
165
168
<tr><tdclass="onelinetop">%DATE%</td><td></td><td>Current date in the format MM-DD-YYYY.</td></tr>
166
169
<tr><tdclass="onelinetop">%EURODATE%</td><td></td><td>Current date in the format DD-MM-YYYY.</td></tr>
167
170
<tr><tdclass="onelinetop">%REVERSEDATE%</td><td></td><td>Current date in the format YYYY-MM-DD. This is often useful for file archives or for pictures.</td></tr>
@@ -195,29 +198,30 @@ <h2>
195
198
<p>Move all e-mails on the MyAccount account to its own folder in the mail folder:</p>
<tr><td><i>Do:</i></td><tdwidth="10"></td><td><spanclass="key">Move it to…</span></td><tdwidth="10"></td><tdcolspan="3">/boot/home/mail/MyAccount</td></tr>
201
+
<tr><td><i>Do:</i></td><tdwidth="10"></td><td><spanclass="key">Move to folder…</span></td><tdwidth="10"></td><tdcolspan="3">/boot/home/mail/MyAccount</td></tr>
199
202
</table>
200
203
</li><li>
201
204
<p>Sort JPEG photos by date into their own folder in /boot/home/Pictures:</p>
<tr><td></td><tdwidth="10"></td><td><spanclass="key">Move to folder…</span></td><tdwidth="10"></td><tdcolspan="3">/boot/home/Pictures/%DATE%</td></tr>
206
209
</table>
207
210
</li><li>
208
211
<p>Make sure that MP3s have searchable attributes using Axel Dörfler's excellent id3attr program, rename them to "ArtistName - SongName.mp3", and sort them in the /boot/home/music folder by the artist's name. This would make importing an MP3 collection from somewhere else very easy.</p>
212
+
<p><b>Note when using shell commands:</b> Take care to 'escape' the variable, here <tt>'%FULLPATH%'</tt>. The inverted commas make sure spaces and other special characters don't spoil the fun.</p>
<tr><td></td><tdwidth="10"></td><td><spanclass="key">Rename it to…</span></td><tdwidth="10"></td><tdclass="onelinetop" colspan="3">%ATTR:Audio:Artist% - %ATTR:Audio:Title%.mp3</td></tr>
213
-
<tr><td></td><tdwidth="10"></td><td><spanclass="key">Move it to…</span></td><tdwidth="10"></td><tdcolspan="3">/boot/home/music/%ATTR:Audio:Artist%</td></tr>
<tr><td></td><tdwidth="10"></td><td><spanclass="key">Move to folder…</span></td><tdwidth="10"></td><tdcolspan="3">/boot/home/music/%ATTR:Audio:Artist%</td></tr>
214
218
</table>
215
219
</li><li>
216
-
<p>Extract Zip archives to the Desktop and dump them into the Trash for later disposal:</p>
220
+
<p>Extract Zip archives to the Desktop and dump them into the Trash for later disposal. Again, mind the 'escaped' variable '%FULLPATH%' in the shell command!</p>
<p>The second tab shows the list of organization rules. Every dropped file is being tested against – and if its type etc. matches processed by – each rule, top to bottom.</p>
170
+
<p>The second tab shows the list of organization rules. Every dropped file is being tested against – and if its type etc. matches, processed by – each rule, top to bottom.</p>
171
+
<p>You can opt to <spanclass="menu">Apply only the first matching rule</span> if you prefer that. Filer will then stop trying to match rules to a file after it found one. (A rule can override that by adding a <spanclass="menu">Continue</span> in its "Do" block. See the <ahref="Rule-Making%20Reference.html">Rule-Making Reference</a> for more info.)</p>
171
172
<p>You can arrange the rules with the <spanclass="button">Move up/down</span> buttons and <spanclass="button">Add…</span>, <spanclass="button">Edit…</span> and <spanclass="button">Remove</span> them.<br/>
172
-
Here's the window that opens to edit a rule:</p>
173
+
Here's the window that opens to edit a rule, which is similar to the one for adding a rule:</p>
173
174
<divalign="center">
174
175
<imgsrc="./images/filer_edit_rule.png" alt="Editing a rule" /></div>
175
176
<p>A rule needs three items: A <spanclass="menu">Description</span>, the condition <spanclass="menu">When</span> it is applied, and what action to <spanclass="menu">Do</span>.</p>
176
-
<p>Click on the buttons in the "When" and "Do" boxes to explore the various options to construct the right condition and what action will be taken. You can add several conditions which will <i>all</i> have to be met to trigger the action. If you add several actions in the "Do" box, be aware that they are executed in order, from top to bottom.</p>
177
+
<p>Click on the buttons in the "When" and "Do" boxes to explore the various options to construct the right condition and what action will be taken. You can add several conditions which will <i>all</i> have to be met to trigger the action. If you add several actions in the "Do" box, be aware that they are executed in order, from top to bottom.<br/>
178
+
Conveniently, the text boxes support drag&dropping of a file or folder.</p>
177
179
<p>Please read the <ahref="Rule-Making%20Reference.html">Rule-Making Reference</a> (also available from the <spanclass="button">Help…</span> button) for more information on the various possibilities.</p>
178
180
179
181
<h2>
@@ -185,7 +187,7 @@ <h2>
185
187
</div>
186
188
187
189
<p>The <i>AutoFiler</i> itself is a background application. You can activate the checkbox at the top to automatically <spanclass="menu">Run AutoFiler on system startup</span>. The button to beside it lets you start/stop it manually.</p>
188
-
<p>You can <spanclass="button">Add…</span>, <spanclass="button">Edit…</span> and <spanclass="button">Remove</span> the folders that <i>AutoFiler</i> will monitor for incoming files.</p>
190
+
<p>You can <spanclass="button">Add…</span>, <spanclass="button">Edit…</span> and <spanclass="button">Remove</span> the folders that <i>AutoFiler</i> will monitor for incoming files. One or more folders are quickly added via drag&drop.</p>
0 commit comments