can someone help me with unix command to truncate the contents of the files in the directory. I am using Cygwin in windows.
for file in *
do
>$file
done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With