Migration: Ensure destination directories exist when moving RRDs
authorAaron Brady <bradya@gmail.com>
Sun, 15 Jan 2012 13:16:37 +0000 (13:16 +0000)
committerAaron Brady <bradya@gmail.com>
Sun, 15 Jan 2012 13:16:37 +0000 (13:16 +0000)
If you have not run collectd 5 before, then when type instances
are migrated to plugin instances the destination directories
may not already exist. For example:

mv "./test/df/df-mnt-dlna.rrd" "./test/df-mnt-dlna/df.rrd"

This one-liner does a mkdir -p of the destination before
attempting to move the file.


No differences found