Page 1 of 1

dump-session # Merge changes with 'changes=EXIT'

Posted: 23 Oct 2017, 21:31
by abelM
Hello brokenman,

Maybe there's an issue similar to cleanup script as copying files at exit.
The following statement copies the whole content from folders in the live system to persistent device:

# Merge changes with 'changes=EXIT' destination:
cp -af $FOLDERS $MNAME 2>/dev/null

I think you could save writes to flash drives this way instead:
cp -uaf $FOLDERS $MNAME 2>/dev/null

Thank you!

dump-session # Merge changes with 'changes=EXIT'

Posted: 23 Oct 2017, 23:50
by brokenman
Thanks. Updated in my local TREE to be pushed with next update.

dump-session # Merge changes with 'changes=EXIT'

Posted: 24 Oct 2017, 02:01
by abelM
Thanks to you!