[wellylug] cpio pattern nonmatching

Jonathan Harker jharker at massey.ac.nz
Tue May 11 12:18:47 NZST 2004


E.Chalaron wrote:
> BTW 
> I tried (following your sed script) to rename the directories on the fly :
> 
> find . | sed "s/ /_/g" | cpio -pudmv -

That doesn't rename the files, it just replaces spaces in the output text of 
find, which is why cpio isn't finding them.

> does not like it.
> 
> cpio: ./direc_1_test: No such file or directory
> cpio: ./direc_1_test/file_test.doc: No such file or directory





More information about the wellylug mailing list