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.
Post Reply
User avatar
abelM
Black ninja
Black ninja
Posts: 33
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: 5574
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

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: 33
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