home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 136,149 of 138,051   
   Sidney_Kotic to All   
   bash script   
   20 Feb 17 13:40:22   
   
   From: kant@have.it   
      
   Hi everyone.   
      
   I have sort of a problem.  I'd like to search through various directories and   
   copy, or move, files to a single directory.  Minus the directory structure and   
   with lots of special characters/spaces in the file names.  This would be fairly   
   easy except I don't want to overwrite an existing file (the -n option).  The   
   option works, but it doesn't tell me with a return code (i.e. nonzero) that it   
   did nothing.  Anybody got an idea how to accomplish this with a bash script?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca