unlink <*.bak>;

how I am supposed to specify directory above?

for example I have to apply above unlink command to delete all backup files in the 
Specified directory.

$dir = /home/path/to/dir

is it right?

unlink <$dir/*.bak>;

??

Any ideas?

Thanks,

Sara.

Reply via email to