Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming several picture files with a date pattern is aberrant #188

Open
Curius16 opened this issue Aug 4, 2023 · 1 comment
Open

Renaming several picture files with a date pattern is aberrant #188

Curius16 opened this issue Aug 4, 2023 · 1 comment

Comments

@Curius16
Copy link

Curius16 commented Aug 4, 2023

Distribution

Mint 21.2

Package version

3.0.2

Frequency

Always

Bug description

Hello. I've always renamed my pictures files with the pattern:
%D{%Y-%m-%d__%H-%M-%S}%E (— are 2 underscores)
with a result in the form of:
2016-03-17__10-48-01.jpg
Since Mint 21.2: "Pix, which was originally based on gThumb 3.2.8, was rebased on gThumb 3.12.2. ".
Now the resulting name of the files is in the form:
--——-2023-08-04--14.51.11-.jpg (--——- are 2 dashes, 2 underscores, 1 dash)
See attached picture:
Pix File Name Format Bug

Steps to reproduce

Try to rename several files with the pattern:
%D{%Y-%m-%d__%H-%M-%S}%E (— are 2 underscores)

Expected behavior

The resulted names should be in the form of:
2016-03-17__10-48-01.jpg (— are 2 underscores)
but they are in the form of:
--——-2023-08-04--14.51.11-.jpg (--——- are 2 dashes, 2 underscores, 1 dash)

Additional information

No response

@vizrbo
Copy link

vizrbo commented Feb 20, 2024

To add to this discussion, on a Mint 21.3 Cinnamon laptop, I did the following:

  1. sudo apt purge pix pix-data pix-dbg
  2. Visited "http://packages.linuxmint.com/list.php?release=vera#backport"
  3. Manually downloaded pix and pix-data .deb files
  4. cd Downloads
    sudo dpkg -i pix-data_2.8.9+vera_all.deb
    sudo dpkg -i pix_2.8.9+vera_amd64.deb

This version of Pix, 2.8.9, solves the regression in Pix 3.2.2 and 3.0.2 not printing the desired file name upon using the formatting string:

%M{%Y%m%d-%H%M%S}%E

which is supposed to output something like: 20240220-221802.jpeg but instead prints out what @Curius16 mentioned

I'm not aware what is the protocol here regarding tagging the devs on issues, so would be really obliged if I am pardoned this gesture - @clefebvre

Relevant links:

  1. https://help.gnome.org/users/gthumb/stable/gthumb-rename-series.html.en
  2. https://forums.linuxmint.com/viewtopic.php?t=401752

Linux Mint has been my first ever linux distribution, and if I'm able to offer any sort of assistance, it'll be a big deal for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants