www.delorie.com/gnu/docs/findutils/find_43.html   search  
 
Buy GNU books!


Finding Files

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.3.2.2 Safe File Name Handling

Here is how to make find output file names so that they can be used by other programs without being mangled or misinterpreted. You can process file names generated this way by giving the `-0' or `--null' option to GNU xargs, GNU tar, GNU cpio, or perl.

Action: -print0
True; print the full file name on the standard output, followed by a null character.

Action: -fprint0 file
True; like `-print0' but write to file like `-fprint' (see section 3.1 Print File Name).


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003