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

Non release banter
User avatar
enzo73
White ninja
White ninja
Posts: 7
Joined: 19 Sep 2022, 07:49
Distribution: Porteus 5rc3
Location: Italy

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

Post#1 by enzo73 » 28 Jan 2025, 11:16

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

tome
Contributor
Contributor
Posts: 686
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

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

Post#2 by tome » 28 Jan 2025, 16:44

In your file manager open /mnt/live/memory/changes

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

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

Post#3 by Ed_P » 28 Jan 2025, 17:34

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

vinnie
Shogun
Shogun
Posts: 210
Joined: 13 Jun 2024, 08:25
Distribution: alpine

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

Post#4 by vinnie » 28 Jan 2025, 20:18

In nemesis is there: /usr/local/sbin/changes-time
Accessible by root

Vic
Samurai
Samurai
Posts: 171
Joined: 10 Aug 2016, 05:36
Distribution: Porteux V-0.1 64 KDE
Location: Utopia in Tampa, Florida, USA

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

Post#5 by Vic » 30 Jan 2025, 12:53

Hi enzo73

There is also this thread >>>

Save work

Vic

User avatar
enzo73
White ninja
White ninja
Posts: 7
Joined: 19 Sep 2022, 07:49
Distribution: Porteus 5rc3
Location: Italy

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

Post#6 by enzo73 » 10 Mar 2025, 15:24

Hi everyone, sorry for the delay but, thank you very much for all the advice !! As soon .. :good:

Post Reply