Page 1 of 1

Looking for the command to see the individual changes on the files

Posted: 28 Jan 2025, 11:16
by enzo73
Hi everyone, first the all i would great all the Porteus Team, I've a small question, I remember vaguely that somewhere in the documentation there was the indication for detect of the modified systems files.

My need is to change some configuration files (screen resolution, wallpaper, font type, time setting and volume, etc) and to insert those single files in the rootcopy folder (in this phase I wouldn't want to use file.dat, magic folder and / or other).

So I was looking for the command to see the individual changes made, which configuration files are actually modified in the system, I have looking in the entire forum and documentation but I I couldn't find that awesome command I was looking for, does anyone remember how to do it '

As always, thank you so much
Ciao
Enzo

Looking for the command to see the individual changes on the files

Posted: 28 Jan 2025, 16:44
by tome
In your file manager open /mnt/live/memory/changes

Looking for the command to see the individual changes on the files

Posted: 28 Jan 2025, 17:34
by Ed_P
Based on this thread: Find a file by date (or time) I use this script to see changes.

Code: Select all

#!/bin/sh
# https://forum.porteus.org/viewtopic.php?f=81&t=3776#p27204
  
PSWD=toor    # password for root access

X=1          # default search time in minutes
if [ ! "$1" == "" ]; then
   X=$1
fi  

echo " mmin = "$X

echo $PSWD | sudo -S  echo "******" 
if [ "$2" == "" ]; then
   sudo -S find /mnt/live/memory/changes  -iname "*" -mmin -$X
else
#  https://forum.porteus.org/viewtopic.php?p=86214#p86214 
   sudo -S find /mnt/live/memory/changes  -not -path "*/.cache/*" -iname "*" -mmin -$X  
fi
read
exit

Looking for the command to see the individual changes on the files

Posted: 28 Jan 2025, 20:18
by vinnie
In nemesis is there: /usr/local/sbin/changes-time
Accessible by root

Looking for the command to see the individual changes on the files

Posted: 30 Jan 2025, 12:53
by Vic
Hi enzo73

There is also this thread >>>

Save work

Vic

Looking for the command to see the individual changes on the files

Posted: 10 Mar 2025, 15:24
by enzo73
Hi everyone, sorry for the delay but, thank you very much for all the advice !! As soon .. :good: