organize
organize copied to clipboard
startswith doesn't work with accents
As the title says. I have the following rule:
# Cálculo PDF
rules:
- folders: ~/Google Drive/
subfolders: false
filters:
- extension:
- pdf
- filename:
startswith: Cálculo
actions:
- move: "~/Google Drive/Escuela/12vo/Cálculo Integral/Periodo #6/PDF's/"
I've tried adding quotations to the startswith argument but it still doesn't work.
I just created a unit test but could not reproduce this. My guess is that this is related to #40 and the accents are encoded differently. You could try to copy the á from your filename directly into the script, but this is just a workaround.
Closing this as duplicate of #40.