LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-28-2010, 07:49 AM   #1
Jack Sparrow
LQ Newbie
 
Registered: Dec 2010
Posts: 8

Rep: Reputation: 1
GUI scrub?


does anyone know of a GUI frontend for scrub?
http://linux.die.net/man/1/scrub

mabey one with nautilus or KDE integration?

Or mabey one with support for gnome's virtual file system so I can "scrub" the "trash"
 
Old 12-30-2010, 08:54 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You could write your own script, and make it GUI-pretty with
zenity

Here's a start for you (no warranty implied or given!):
Code:
sudo apt-get install zenity

#!/bin/bash
# Script: scrub.with.zenity
# Note: No error-checking in case scrub fails, and you might want to know about this
file=$(zenity --title="Select a file to scrub" --file-selection)
ans=$(zenity --title "Last-Chance Warning!" --text "Irrevocably scrub $file?" --question; echo $?)
if [ $ans == 1 ]; then zenity --warning --title "Information" --text "Operation aborted"; exit 1
else scrub your options here $file
fi
exit 0
Save the script, make it executable, run it.
Create a menu entry for it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Scrub and his Kernel Linux_n00b_57 Slackware 7 03-14-2006 09:32 PM
scrub hard disk from remote login dangergirl Linux - Software 1 03-13-2006 05:47 PM
how do I manually scrub my system of mplayer? stellarmarine1 Linux - Software 9 08-23-2004 06:54 AM
Utility to scrub free space on a disk? Pontius Linux - Software 1 05-20-2004 03:44 PM
mutli boot grub.. made me a scrub e12345678ric Linux - Newbie 1 10-24-2002 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration