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

Pattern matching doesn't work at all on Windows #270

Open
UserC2 opened this issue Jul 18, 2024 · 1 comment
Open

Pattern matching doesn't work at all on Windows #270

UserC2 opened this issue Jul 18, 2024 · 1 comment

Comments

@UserC2
Copy link

UserC2 commented Jul 18, 2024

Using any command requiring a pattern doesn't function on Windows.

fclones executes correctly, but finds 0 applicable duplicates with the following command in PowerShell:

fclones group . | fclones move --path '.\' --dry-run 'Duplicates' > moves.txt

(It also doesn't work with any combination of './', .\, ./, ./*, or .\* as an argument to --path.)

@pkolaczk
Copy link
Owner

pkolaczk commented Aug 30, 2024

Fclones has no control over how the shell preprocesses the arguments. Quoting rules differ between shells so you have to adapt your args so that fclones receives proper argument values.

Does it work in cmd?

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