Page 2 of 2
Posted: Sat 04 Feb 2017, 22:18
by vovchik
Dear all,
I found a script on Linux Lite that almost fits the bill. It needs a bit of tweaking still, but is a good starting point, I think. Have a look. It used zenity for the GUI and I changed it to yad.
With kind regards,
vovchik
PS. Don't run all those options just out of curiosity. First look at the code. Lots of modding still needed.
Posted: Sat 04 Feb 2017, 23:17
by mistfire
@vovchik its a good to start. the script must become dynamic
Quick test
Posted: Sun 05 Feb 2017, 16:32
by corvus
Tried on several Puppies.
- Fatdog710: Working with the following error.
Code: Select all
root# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
- Tahr64-6.0.5: Working with the same output as Fatdog710.
- Slacko64-6.3.2: Not working with the following errors.
Code: Select all
sh-4.2$ ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
./liteclean-vov: line 599: yad: command not found
- Lucid Puppy 5.2.8.7: Not working with the following errors.
Code: Select all
# ./liteclean-vov
./liteclean-vov: line 529: [: -gt: unary operator expected
Unable parse command line: Unknown option --ok-label=Begin
- Tahr-6.0.5: Not working with the same output as Lucid Puppy 5.2.8.7.
- Xslacko-4.2: Working OOTB.
Regards
Posted: Sun 05 Feb 2017, 17:07
by vovchik
Dear corvus,
That script is just there as an example, so be caureful how you run it. I think you are getting errors because it really wants a recent and full bash (not ash or dash), and also probably not busybox implementations of some common *nix utilities. I put it there merely as a a starting point, so we can work on getting something similar that would work on a number of different systems. I am playing around with it and hope others join in the fun.
With kind regards,
vovchik
PS. I did remove old thumbnails, amd midori, firefox and chromium junk, and got some 2.5 GB of disk space back, so there is a need for something like this.
Posted: Sun 05 Feb 2017, 18:20
by corvus
I'm sorry I thought we had already started working on it,
I'm not a scripting expert consequently I'm not useful in this phase maybe later when you have to test it on the field.
Cheers.