ignore "System Volume Information" directory

This is a control directory on Windows whose permissions are always set very
restrictively:
http://blogs.msdn.com/b/oldnewthing/archive/2003/11/20/55764.aspx
This commit is contained in:
Adrian Sampson 2013-02-24 15:53:47 -08:00
parent c19fd0e0e6
commit fa9d326d39
3 changed files with 7 additions and 4 deletions

View file

@ -18,7 +18,7 @@ import:
default_action: apply
clutter: ["Thumbs.DB", ".DS_Store"]
ignore: [".*", "*~"]
ignore: [".*", "*~", "System Volume Information"]
replace:
'[\\/]': _
'^\.': _

View file

@ -10,6 +10,8 @@ Changelog
* When the importer encounters an error (insufficient permissions, for
example) when walking a directory tree, it now logs an error instead of
crashing.
* Add "System Volume Information" (an internal directory found on some
Windows filesystems) to the default ignore list.
* Fix a crash when iTunes Sound Check tags contained invalid data.
* Fix an error when the configuration file (``config.yaml``) is completely
empty.

View file

@ -68,9 +68,10 @@ so::
ignore
~~~~~~
A space-separated list of glob patterns specifying file and directory names
to be ignored when importing. Defaults to ``.* *~`` (i.e., ignore
Unix-style hidden files and backup files).
A list of glob patterns specifying file and directory names to be ignored when
importing. By default, this consists of ``.*``, ``*~``, and ``System Volume
Information`` (i.e., beets ignores Unix-style hidden files, backup files, and
a directory that appears at the root of some Windows filesystems).
.. _replace: