Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from NoahSwinamer/NoahSwinamer-patch-1
Browse files Browse the repository at this point in the history
UPDATE
  • Loading branch information
noxixx authored Aug 27, 2023
2 parents ba2c3b1 + f555680 commit 30867ed
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
1 change: 0 additions & 1 deletion j
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@



33 changes: 32 additions & 1 deletion trash.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,41 @@
#!/bin/bash

echo to start press ctrl+c
#to start the script press ctrl+c
exec 3>&1 4>&2
trap 'exec 2>&4 1>&3' 0 1 2 3 4 5
exec 1>log.out 2>&1

lsb_release -a
#For Loging Distributor ID and Description and Release and Codename
uname -mrs
#For Loging Kernel name and Kernel version number and Machine hardware name
echo /.local/share/Trash/files/
#The Directory to Trash Files
ls -l ~/.local/share/Trash/files/
#For Loging Number of Trash Files

echo /.local/share/Trash/info/
#The Directory to Trash info
ls -l ~/.local/share/Trash/info/
#For Loging Number of Trash info Files



for (( ; ; ))
do
sleep 40
# is Sleep 40 Second

echo $(rm -rf ~/.local/share/Trash/files/*)
echo /.local/share/Trash/files/
ls -l ~/.local/share/Trash/files/

echo $(rm -rf ~/.local/share/Trash/info/*)
done
echo /.local/share/Trash/info/
ls -l ~/.local/share/Trash/files/

echo to exit ctrl+z
#to exit the script press ctrl+z

done

0 comments on commit 30867ed

Please sign in to comment.