Is there a way to restore files accidentally deleted with osc delete?
I tried undelete and got the message
no permission to execute command ‘undelete’
Straneg I have permission to delete but not permission to undelete.
That’s reasonable because You said you wanted to modify files:
But osc undelete
is used for PROJECT and PACKAGE.
Yes osc delete
can delete file besides PROJECT and PACKAGE,
But osc revert
is the command to undelete deleted files.
[1] osc undelete --help
[2] osc delete --help
[3] osc revert --help
Try them.
Greetings
Marguerite
Thank you very much for your help. Unfortunately, when I tried to use osc revert to undelete the files, I received the message
Error: “/home/peter” is not an osc package working copy.
Thanks,
Peter