Deleting files
I want to remove all files in a specific directory on a remote machine and I am using sftp. My code looks like :
cd load/loadIn
ls
pwd
rm *.*
and I got the following errormessage:
rm /load/loadIn/*.*: no such file or directory
I have also tried to change the last line to delete files ending with .ok by writing :
rm *.ok
and I got the following errormessage:
rm /load/loadIn/*.ok: no such file or directory
So could anyone help me out to do this task ?
Regards
/Andreas
cd load/loadIn
ls
pwd
rm *.*
and I got the following errormessage:
rm /load/loadIn/*.*: no such file or directory
I have also tried to change the last line to delete files ending with .ok by writing :
rm *.ok
and I got the following errormessage:
rm /load/loadIn/*.ok: no such file or directory
So could anyone help me out to do this task ?
Regards
/Andreas