I have I directory (on Linux)containing the following files.
/aster.zip
/janice.pgp
/wert002.pgp
/andy.err
/afgo.pgp
/harry.zip
/john.err
I want to create a script to move files containing the extension ".err" to a differant directory.
I know I can use copy but how do I use wildcards in php? can you do
copy (/*.err, /errdir/);
Or are wildcards not supported in php??
--Thanks for the help guys!!!!