mainsail icon indicating copy to clipboard operation
mainsail copied to clipboard

"Hide backup files" option does not hide `.moonraker.conf.bkp`

Open thetic opened this issue 11 months ago • 3 comments

Mainsail Version:

2.10.0

Browser:

Firefox

Device:

Desktop PC

Operating System:

Linux

What happened?

image

What did you expect to happen instead?

.moonraker.conf.bkp is hidden because it is a backup file.

How to reproduce this bug?

From "Machine > Config Files" enable both "Hidden files" and "Hide backup files." .moonraker.conf.bkp remains in the list of files.

Additional information:

No response

thetic avatar Feb 28 '24 03:02 thetic

Hide backup files are only for Klipper Backup files.

Which tool create this backup file? Because it started with a ., it will be also hidden, when you disable the hidden holes. All files with a . as first chars, are hidden files in Linux.

meteyou avatar Feb 28 '24 05:02 meteyou

moonraker creates these https://github.com/Arksine/moonraker/blob/9813011db2e65f13072b8e31ad9a9364e99e338d/moonraker/confighelper.py#L509

thetic avatar Feb 28 '24 05:02 thetic

thx for the link and the FR. I will add these files to "hide backup files".

meteyou avatar Feb 28 '24 06:02 meteyou