2023-10-16 10:42:49 +05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ "$UID" != 0 ]]; then
|
|
|
|
echo "USER NOT ROOT"
|
|
|
|
sudo $0
|
|
|
|
exit
|
|
|
|
else
|
|
|
|
echo "USER IS ROOT"
|
|
|
|
fi
|
|
|
|
|
2024-12-02 11:45:12 +05:00
|
|
|
find /home/liveuser -type f -newermt '2024-12-01 00:00' -ls | grep -v '.cache' | awk '{print $11}' | sed -e "s|/home\/liveuser\/||g" > ./liveuser.txt
|
2023-10-16 10:42:49 +05:00
|
|
|
|
2023-10-29 00:42:50 +05:00
|
|
|
echo "Ready"
|