cmdchallenge
cmdchallenge copied to clipboard
Rename timeouting
https://cmdchallenge.com/#/remove_extensions_from_files
I think following should work without any troubles
find . -type f -exec rename 's/\.[^.]+$//' {} \;
but getting Command timed out every time.
I tried variants with xargs, for cycle etc but any time I use rename for more files, I got timeout.
I'm having the same issue. I get timeouts even for trivial things
bash(☠️)> find . -type f -print0 | xargs -n1 -0 -I{} mv "{}" $(echo {} | sed -e 's/\(.*\)\.[a-zA-Z0-9]*/\1/')
Command timed out
bash(☠️)> #test comment
Command timed out
Possible this test is broken and only cached results are succeeding?