Use quote marks (sounds like % has special meaning to your shell)
rm 'cache/7/78/ns0%3ASimpsonspedia.html.gz'
- Brian
On Saturday, December 4, 2021, Support Simpsonspedia < support@simpsonspedia.net> wrote:
Hello, since 1.37.0 exists in my wiki the name space in front of filename ns0%3ASimpsonspedia.html.gz
If I use the cron job */usr/bin/rm [...]/cache/7/78/ns0%3ASimpsonspedia.html.gz* I’ve got the error message */usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0’: No such file or directory*.
All after ns0 is missed. I encode %3A to :
If I use the cron job */usr/bin/rm [...]/cache/7/78/ns0:Simpsonspedia.html.gz* I’ve got the error message */usr/bin/rm: cannot remove ‘[...]/cache/7/78/ns0:Simpsonspedia.html.gz’: No such file or directory*. Where is my mistake?
Best regards Matt