Description: #REMOVE UNNECESSARY BACKUPS AND OLD FILES FROM CURRENT WORKING DIR TO TRASH
#DEPENDS ON ZENITY & DEL command ( ofcourse we can use rm if we need ) #FILE_INFO : This script is used to delete the famous backups and old files on our home directories and it also works well if you have permissions on other directories ....Here I use DEL command which I made it for my purpose for more safety..but if you dont have then you can replace it by rm -f "$a"
Hey guys It depends on other scripts I just made it for myself and if anyone finds useful then please feel free to use and post any comments about it
basically I just saw the bash commands off the internet 2 hrs ago before making this script...so dont expect anything great ..U may have annoying errors also so please please feel free to correct it
I have a bug in this script
The problem is it dont delete the files with spaces .... internally the filenames with spaces are treated as number of tokens but not as the whole filename ..so the del command fails here ....the bug is clearly visible from screenshotsLast changelog:
just made some working thing
next I dont know what to do
just waiting for ur opinions and correction on the bug
Ratings & Comments
0 Comments