Lock file has ~ , can I change that to work with OneDrive

Discuss the word processor
Post Reply
chasgl
Posts: 47
Joined: Thu Aug 14, 2008 9:37 pm

Lock file has ~ , can I change that to work with OneDrive

Post by chasgl »

When you open an OpenOffice forum it creates a file of the form .~lock.filename.ods . But I am using OneDrive and it is allergic to files with special characters in their names like tidly ~. Is there a way to change the naming convention of the lock file so things work well with OneDirve?
OOo 4.1.3 on Windows 10 64 bit pro
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: lock file has ~ , canI change that to work with OneDive

Post by Villeroy »

Install https://libreoffice.org/
menu:File>Open Remote File...
Click [Add Service]
Choose "One Drive" and enter your login credentials.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
chasgl
Posts: 47
Joined: Thu Aug 14, 2008 9:37 pm

Re: lock file has ~ , canI change that to work with OneDive

Post by chasgl »

I was probably unclear. I can use OneDrive except the lock file that OpenOffice creates has a tidly ~ in its name and OneDrive give an error message every tim and does not copy that file to the cloud. I want to find out if there is a way to change OO's naming convention so OneDrive doesn't complain about it.
OOo 4.1.3 on Windows 10 64 bit pro
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: lock file has ~ , canI change that to work with OneDive

Post by John_Ha »

chasgl wrote:When you open an OpenOffice forum it creates a file of the form .~lock.filename.ods . Is there a way to change the naming convention of the lock file so things work well with OneDirve?
No. The .~lock.filename.ods file is created in the folder in which the document is located and is deleted when the document is closed.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
chasgl
Posts: 47
Joined: Thu Aug 14, 2008 9:37 pm

Re: lock file has ~ , canI change that to work with OneDive

Post by chasgl »

True the file is created in the folder the document is in. That is a folder on OneDrive. I do that so I can work with the file from different computers. the ~lock file causes OneDrive problems; there is a list of special characters it does not like in file names ~ is one of them. This causes two problems for me 1) there are error messages on OneDrive and I have to look at each one to see if it is really a problem or just this 2) the lock file does not appear on the second computer so the locking function does not work between computers. If there was some way to change the name to not have the tidly ~ I think it would solve both problems.
OOo 4.1.3 on Windows 10 64 bit pro
John_Ha
Volunteer
Posts: 9584
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: lock file has ~ , canI change that to work with OneDive

Post by John_Ha »

chasgl wrote:If there was some way to change the name to not have the tidly tilde ~ I think it would solve both problems.
Sorry - you cannot change it.

A clunky workaround would be to edit everything on the hard drive and upload the saved .odt files to OneDrive.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Post Reply