Under /tmp/REPORTS
I have a hundred files. What I want to do is erase the contents of each file in /tmp/REPORTS
(not delete them). So I tried the following, but I get this error:
cp /dev/null /tmp/REPORTS/*
cp: Target /tmp/REPORTS/….. must be a directory
Usage: cp [-f] [-i] [-p] [-@] f1 f2
cp [-f] [-i] [-p] [-@] f1 ... fn d1
cp -r|-R [-H|-L|-P] [-f] [-i] [-p] [-@] d1 ... dn-1 dn
How can I clear the contents of all the files in the directory?