howto touch all files in current+sub-dirs
Hi, linux questioners ans answers
I have tried to touch all non-hiden files in current dir+sub-dir on Fedora4 with
find ./ -type f -exec touch '{}';
the error is :find missing argument to -exec
find -type f -exec touch {}\;
the error is :find missing argument to -exec
find -type f -exec -c touch {};
the error is :find missing argument to -exec
'find -type f' part works well, listed all files in cur+sub dirs,
but not '-exec touch {}', which is the just the part I need)
Can anyone tell me the correct command ?
thanks in advance
O'Li
|