Solved Help With Deleting Unused Digital Receptionist Files On Linux

Status
Not open for further replies.

Wendelspanswick

Joined
Jan 11, 2016
Messages
178
Reaction score
10
I'm a novice when it comes to Linux.
I'm trying to delete unused digital receptionist files, I navigate on the command line to:

/var/lib/3cxpbx/Instance1/Data/Ivr/Prompts

I can see the file I want to delete:

Example File.wav

so I use:

sudo rm Example File

and I get back:

rm: cannot remove 'Example File': No such file or directory

I've tried

sudo rm Example_File
sudo rm Example File.wav

All with the same error message.

I've also tried sudo rm -f and the file name, no error message but no file removed either!
 
Sorted it by using:
rm -i -- *
which steps though each file in the directory and asks whether you want to delete it.
No sure why sudo rm File Name doesn't work though?
 
Glad to see the issue has been resolved. Not sure why you were facing the issue. The exact same command works on mine installation. Perhaps a permissions issue?
 
Status
Not open for further replies.