remove backup and old files

Nautilus Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
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 screenshots
Last changelog:

10 years ago

just made some working thing

next
I dont know what to do

just waiting for ur opinions and correction on the bug

Be the first to comment

10 years ago

just made some working thing

next
I dont know what to do

just waiting for ur opinions and correction on the bug

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1
updated Feb 12 2009
added Feb 12 2009
downloads 24h
0
page views 24h 1
System Tags addon