LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-02-2007, 10:55 AM   #1
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Rep: Reputation: 15
Need assistance with Nautilus and Shred


I did some research and I think I have this set up, but it works a bit fast and I am wondering if it is actually over writing the number of times I want it to. I am using copies of files that are 5-20MB

I am trying to set it up in the Nautilus Actions Configuration

Action
path: sudo /usr/bin/find
parameters: %M -type f -exec shred -f -u -n35 -z '{}' \;

Does this look right? Also if I had, shred -fun35z10 , inserted above, would that work as well?
 
Old 07-02-2007, 10:58 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
After the exec you give the same command you would give in console. Try "shred -fun35z10" and in the console, and if it works, you can use that. Also take time how long it takes for a file of some size X (make a copy of that file, so you have two identical files). Then do the same from within Nautilus and see if it's about the same time.
 
Old 07-02-2007, 01:56 PM   #3
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Both take aprox. 17 seconds for a 14MB file, with the terminal and with the Nautilus Script.

I also noticed something. I put sudo infront of /usr/bin/find I didn't need to do that.

Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help with shred m.pass Linux - General 2 09-02-2006 01:03 AM
shred allows only one file Trio3b Linux - Security 5 12-08-2005 12:58 AM
shred folder from konsole illtbagu Linux - General 6 05-06-2004 09:39 AM
shred program for ext3 elconde Linux - Software 4 11-24-2003 06:08 PM
what is meant by shred? murshed Linux - Newbie 5 04-13-2003 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration