Forum Discussion
Altera_Forum
Honored Contributor
14 years agoToo many filename matches
Hello, I got a system that records to a Compact Flash disk. Everything works great except when I try to delete a bunch of files using rm *.dat. It gives me the message: "Too many filename ...
Altera_Forum
Honored Contributor
14 years agoyou could try a bash script:
#!/bin/bash
for file in $PWD/*
do
if ]
then
rm $file
fi
done