Changes:EXIT xzm
Posted: 08 Feb 2025, 20:40
Version 1.1 released see post viewtopic.php?p=102087#p102087 - Original version
Version 2.0 released viewtopic.php?p=102217#p102217 - Definative version
Im proud to release v1.0 of save-changesnew Updated 02/11/2025
Shortwave (Post by dreadbird #102020)
save-changes new with developer buddy https://drive.google.com/file/d/1AbntHP ... sp=sharing porteus 5.01 and 5.1
hotfix one small change if you want a more accurate diff file
/usr/local/save-changesnew/recentchangessearch.sh line 306 change to comm 23 small typo nemesis isnt effected. regarding diff file
xzm sha1sum 1390253bf3d408e45e00de0e99d8b79d5524e123
recent changes aka developer buddy for nemesis https://drive.google.com/file/d/1i7yoYd ... p=sharing .xzm
xzm sha1sum 5f3287bc4b23a2f4284c2d74cf2e3aec5a9922ca
It is exactly the same as changes-commit. but uses rsync and outputs a log of only files changed in your /Downloads folder and in /tmp
commands
save-changesnew
recentchanges
it includes a start menu icon for saving changes easily on Changes:EXIT
to include or exclude directories open the script in /opt/porteus-scripts/save-changesnew #template is the same as changes-exit.conf
recentchanges is a powerful command that can grab any new files and puts them in rntfiles.xzm in /tmp
lets say you compiled a program. type recentchanges 30 or recentchanges 60. if you type recentchanges the default is 5 minutes.
The custom built filter in recentchanges filters out system files and captures any new files you wanted. it will log the manifest of the .xzm. it will show the entire system changes during those 30 or 60 seconds in a seperate log. it will also latch onto an old search in /tmp and compare those in the scanning. very effective. ie do you want a snapshot of all files that are 5 hours old? recentchanges 18000 will grab every single file and put it into an .xzm for you to see (Filtered). Those are the filtered files. A log of that 18000 seconds of unfiltered files will be output. you will also get a difference log which compares the previous search with the new one. Ok these are all the system files for 18000 seconds. run the command again say 5 minutes later and you can see what difference in the diff file. very useful
recentchanges <------ pull files 5 minutes old or newer (filtered) and do a system search 5 minutes of all files
recentchanges 327 <------ " 327 seconds " " system 327 seconds
rntfiles.xzm
rntfilesmanifiest
rntfilesTransferlog
(<------------------------ custom built filter ensures these are files you are concerned about filters out .cache files ect ------------------------->)
rntfilesxSystemchanges5
rntfilesxSystemDiffFromLastSearch5
(<----------------------- unfiltered files all files on your sytem 5 minutes or newer ----------------------------------------------------------------------------->)
the program intelligently moves all old searches into a new directory /rntfilesUNIQUEID
the rntfilesxSystemchanges file will show any new files in the last 5 minutes and the difference file is whats new since your last 5 minute search
recenthanges search
this will do a file only search and put the result in /Downloads
you can specify recentchanges search s for seconds. ie recentchanges search 5000 will search for all new files almost 2 hours old. if you just type recentchanges search it will default to 5 minutes.
You get unfiltered items
xSystemchanges60
xSystemDiffFromLastSearch60
recentchanges search /home/guest/myfile.txt <---- search for files newer than a file (Results filtered as you dont want unnecessary files)
recentchanges search myfile.txt
recentchanges compile
dynamically build a custom filter with automatically generated sed commands to drag and drop into /opt/porteus-scripts/recentchanges script.
supports deepscan and regular scan. you can adjust the script to set the forward and back delta.
This will ensure it works perfectly for your system. The default setup is pretty good but if youre doing compile you might want to run recentchanges compile and see where youre at with the filter.
Addons
Shortwave (Post by dreadbird #101886)
these addons take the exact save-changesnew script and modifies it so when you save changes it also creates the module in /tmp for the power user. or /mnt/sda1/extramod for hdd script. What does this do? well if you saved 20 times. you have 20 modules you can roll back to any point in time. Useful for developing or replacing that timesync system backup app. Same thing as a windows restore point.
so if you use the power user addon. You would backup your current changes folder somewhere. call it changes9. So if you at anytime you want to roll back you can. Also if you lose your changes folder you can use changes9 and still connect with those modules. so lets say you accidently deleted a file. Ok well archive 5 has it. so that one time you can go back and grab a file is worth it
if you started from a new changes folder it would always connect. as all modules start from start point 1
Version 2.0 released viewtopic.php?p=102217#p102217 - Definative version
Im proud to release v1.0 of save-changesnew Updated 02/11/2025
Shortwave (Post by dreadbird #102020)
save-changes new with developer buddy https://drive.google.com/file/d/1AbntHP ... sp=sharing porteus 5.01 and 5.1
hotfix one small change if you want a more accurate diff file
/usr/local/save-changesnew/recentchangessearch.sh line 306 change to comm 23 small typo nemesis isnt effected. regarding diff file
xzm sha1sum 1390253bf3d408e45e00de0e99d8b79d5524e123
recent changes aka developer buddy for nemesis https://drive.google.com/file/d/1i7yoYd ... p=sharing .xzm
xzm sha1sum 5f3287bc4b23a2f4284c2d74cf2e3aec5a9922ca
It is exactly the same as changes-commit. but uses rsync and outputs a log of only files changed in your /Downloads folder and in /tmp
commands
save-changesnew
recentchanges
it includes a start menu icon for saving changes easily on Changes:EXIT
to include or exclude directories open the script in /opt/porteus-scripts/save-changesnew #template is the same as changes-exit.conf
recentchanges is a powerful command that can grab any new files and puts them in rntfiles.xzm in /tmp
lets say you compiled a program. type recentchanges 30 or recentchanges 60. if you type recentchanges the default is 5 minutes.
The custom built filter in recentchanges filters out system files and captures any new files you wanted. it will log the manifest of the .xzm. it will show the entire system changes during those 30 or 60 seconds in a seperate log. it will also latch onto an old search in /tmp and compare those in the scanning. very effective. ie do you want a snapshot of all files that are 5 hours old? recentchanges 18000 will grab every single file and put it into an .xzm for you to see (Filtered). Those are the filtered files. A log of that 18000 seconds of unfiltered files will be output. you will also get a difference log which compares the previous search with the new one. Ok these are all the system files for 18000 seconds. run the command again say 5 minutes later and you can see what difference in the diff file. very useful
recentchanges <------ pull files 5 minutes old or newer (filtered) and do a system search 5 minutes of all files
recentchanges 327 <------ " 327 seconds " " system 327 seconds
rntfiles.xzm
rntfilesmanifiest
rntfilesTransferlog
(<------------------------ custom built filter ensures these are files you are concerned about filters out .cache files ect ------------------------->)
rntfilesxSystemchanges5
rntfilesxSystemDiffFromLastSearch5
(<----------------------- unfiltered files all files on your sytem 5 minutes or newer ----------------------------------------------------------------------------->)
the program intelligently moves all old searches into a new directory /rntfilesUNIQUEID
the rntfilesxSystemchanges file will show any new files in the last 5 minutes and the difference file is whats new since your last 5 minute search
recenthanges search
this will do a file only search and put the result in /Downloads
you can specify recentchanges search s for seconds. ie recentchanges search 5000 will search for all new files almost 2 hours old. if you just type recentchanges search it will default to 5 minutes.
You get unfiltered items
xSystemchanges60
xSystemDiffFromLastSearch60
recentchanges search /home/guest/myfile.txt <---- search for files newer than a file (Results filtered as you dont want unnecessary files)
recentchanges search myfile.txt
recentchanges compile
dynamically build a custom filter with automatically generated sed commands to drag and drop into /opt/porteus-scripts/recentchanges script.
supports deepscan and regular scan. you can adjust the script to set the forward and back delta.
This will ensure it works perfectly for your system. The default setup is pretty good but if youre doing compile you might want to run recentchanges compile and see where youre at with the filter.
Addons
Shortwave (Post by dreadbird #101886)
these addons take the exact save-changesnew script and modifies it so when you save changes it also creates the module in /tmp for the power user. or /mnt/sda1/extramod for hdd script. What does this do? well if you saved 20 times. you have 20 modules you can roll back to any point in time. Useful for developing or replacing that timesync system backup app. Same thing as a windows restore point.
so if you use the power user addon. You would backup your current changes folder somewhere. call it changes9. So if you at anytime you want to roll back you can. Also if you lose your changes folder you can use changes9 and still connect with those modules. so lets say you accidently deleted a file. Ok well archive 5 has it. so that one time you can go back and grab a file is worth it
if you started from a new changes folder it would always connect. as all modules start from start point 1