Joe Smith wrote:
Ulrich Becker wrote:
...
But where is this lock information stored and how can I remove
it?  I prefer not to have that sort of leftovers in a hidden
database ...

To lock a document file named "letter2mom.odt", Ooo 3 will create a lock file alongside the document called

.~lock.letter2mom.odt#

That's <period><tilde>lock<period>letter2mom.odt<pound>

The "letter2mom.odt" part will vary, matching the name of the file that is locked. The rest of the lock file name is constant.

File names beginning with a period are (by convention) not listed on Unix-like systems, so you may have to do something to make them visible in your file browser.

You can list them from a command shell with something like

$ ls -a

or

$ ls .~*

You can remove the lock files from your file manager, or using a command like

$ rm -i .~lock.*#

Do I really need to warn you to be careful doing mass deletions of files in the same directory as your documents?

I thought not ;-)

<Joe


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


===========================
Joe is right. Both in how to and in his caution.
If you miss that first period you could be awfully upset.

If you have the Midnight Commander (mc) on your system - use it. This is a prime example of when it can save you lots of grief.

Assuming you know how to get a Xterm window open, in it,
Try mc <enter> and see if it comes up. It is a Xtgold type file manager for Unix. The mouse can be used to navigate as well as the command line at the bottom. Right click (or CTRL-T) will tag a file or files for deletion, moving, whatever... Provides visual feedback of choices and secondary 'are you sure' pop-ups for destructive choices.

Saved my bottom a number of times.


Steve
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to