Assistance with archival script
    Neil Joseph Schelly 
    neil at jenandneil.com
       
    Wed Nov 19 14:52:44 EST 2008
    
    
  
On Wednesday 19 November 2008 14:21, Matt Snell wrote:
> find . -mindepth 1 -maxdepth 1 -type d -exec echo /usr/bin/7z a -t7z -mx=0 
{}.7z {} \;
> What I want to do is prevent find from outputting "." as a directory as
I added a mindepth argument to your find above.  That will keep it from 
outputting . in the list and restrict only to the directories within the 
current directory.
-N
    
    
More information about the gnhlug-discuss
mailing list