unix command to truncate file contents
cygwin, unix
Solution
for file in *
do
>$file
done
Problem
can someone help me with unix command to truncate the contents of the files in the directory. I am using Cygwin in windows.
cygwin, unix
for file in *
do
>$file
done
can someone help me with unix command to truncate the contents of the files in the directory. I am using Cygwin in windows.