2

Я пишу простой сценарий оболочки:

find datafiles/ -type f -print0 | xargs -0 md5sum > datafiles.md5

В Cygwin под Vista он просто сидит и ничего не происходит. Он отлично работает на Linux.

В чем может быть проблема??

FYI:

$ find --version
find (GNU findutils) 4.4.0
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b
Features enabled: O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS() CBO(level=0)

1 ответ1

0

Разбери команду. Что значит

find datafiles/ -type f -print0

дать тебе? Что значит

find datafiles/ -type f

дать тебе? Что значит

find datafiles/

дать тебе? Что значит

ls -ld datafiles/

дать тебе?

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .