GNU bug report logs - #21502
'shred' -NUMBER not recognised

Previous Next

Package: coreutils;

Reported by: Nick Rose <nkre5 <at> yahoo.co.uk>

Date: Thu, 17 Sep 2015 04:57:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nick Rose <nkre5 <at> yahoo.co.uk>
To: 21502 <at> debbugs.gnu.org
Subject: bug#21502: 'shred' -NUMBER not recognised
Date: Wed, 16 Sep 2015 23:23:17 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Ostensible discrepancy between 'shred' and its documentation.
(shred (GNU coreutils) 8.23 on Xubuntu 14.10)
On the 'shred' info page:
‘-NUMBER’
‘-n NUMBER’
‘--iterations=NUMBER’
     By default, ‘shred’ uses 3 passes of overwrite.  You can reduce
     this to save time, or increase it if you think it’s appropriate.
     After 25 passes all of the internal overwrite patterns will have
     been used at least once.

If I try the '-NUMBER' method to specify number of iterations:

$ shred -1 file
shred: invalid option -- '1'
Try 'shred --help' for more information.
The other two methods for specifying number of iterations work.
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.