方法一:

find ./ -type f -name '*'|xargs touch

 

方法二:

vi filetime.py

import os
for p,d,f in os.walk(os.getcwd()):
  os.system('touch '+p)