author | Aaron Brady <bradya@gmail.com> | |
Sun, 15 Jan 2012 13:16:37 +0000 (13:16 +0000) | ||
committer | Aaron Brady <bradya@gmail.com> | |
Sun, 15 Jan 2012 13:16:37 +0000 (13:16 +0000) | ||
commit | b3bb5e85375bae10ea5d6ff5c205a069d5d26654 | |
tree | 49b4352d715ee4e613e42dffe6aa5d729f1d44eb | tree | snapshot |
parent | 3e38e2981592bf0ba87f8c63ec8a4c29ec9ef702 | commit | diff |
Migration: Ensure destination directories exist when moving RRDs
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.
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.
contrib/migrate-4-5.px | diff | blob | history |