Skip to main content
6 events
when toggle format what by license comment
Apr 3, 2014 at 21:59 comment added Gilles 'SO- stop being evil' Or get rid of the pipe and replace it by a loop. find just makes things more complex for no reason. @LaurentC.
Apr 3, 2014 at 21:58 history edited Gilles 'SO- stop being evil' CC BY-SA 3.0
cope with all file names not containing newline characters
Apr 3, 2014 at 9:00 comment added Stéphane Chazelas That fails if filenames contain backslash or newline characters.
Apr 3, 2014 at 8:59 vote accept Laurent C.
Apr 3, 2014 at 8:59 comment added Laurent C. Thanks, that worked fine. I did te following for the move: while read f; do mv "$f" "${f%.doc}"/"$f"; done <<< "$(find . -maxdepth 1 -name "*.doc")"
Apr 3, 2014 at 8:45 history answered Josh Jolly CC BY-SA 3.0