+4

LFS: lock multiple files

Andreas75 5 years ago updated by Code Weaver yesterday at 9:04 a.m. 9

LFS->Lock seems only to work with the currently selected file. Selecting multiple files will disable this options in the context menu. For my work it would be great if it would also work for selected files (maybe with an additional dialogue).

I'm not sure whether we really want to support locking of folders. Hence, I have reduced the topic to "multiple files" only. If you think folder locking is important enough post another topic for folders.

the idea was not really to lock a folder but to right click to a folder and to lock all the files which are in this folder respectively in the folder tree

I understand, but I doubt that it's a good idea because it will become too easy for users locking too much (or even the entire repository).

This could happen ;-) - but maybe this feature could be enabled within this low-level options But I would already be happy to be able to select several files and lock them.

It's very important to me has the ability to lock/unlock multiple files (even as a low-level option). Especially lfs now supports this for multiple files

Any option to lock/unlock several files? We use LFS for the art pipeline in videogame development, and locking and unlocking files one per one is a huge burden for the art team.

Bump!  Locking/Unlocking files one a time is very painful when dealing with hundreds of binary asset files.  I usually must resort to using the command line.

Can you explain a bit more? What is the type of scenario that would work better with it? 

Same use-case as @Ivan M above, video games.  When working with teams in Unreal Engine, you typically use a setting called "External Actors", which means each actor in a level is saved as a separate file.  Because each file is binary, we must lock them to ensure conflicts do not arise.  Therefore, a larger change may have hundreds of binary files that need to be locked and unlocked.

Image 911