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

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
abelM
Black ninja
Black ninja
Posts: 50
Joined: 22 Oct 2017, 12:35
Distribution: Porteus v-3.2.2 64 bit
Location: Argentina
Contact:

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

Post#1 by abelM » 23 Oct 2017, 21:31

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!

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#2 by brokenman » 23 Oct 2017, 23:50

Thanks. Updated in my local TREE to be pushed with next update.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
abelM
Black ninja
Black ninja
Posts: 50
Joined: 22 Oct 2017, 12:35
Distribution: Porteus v-3.2.2 64 bit
Location: Argentina
Contact:

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

Post#3 by abelM » 24 Oct 2017, 02:01

Thanks to you!

Post Reply