jarv / cmdchallenge

This repo is mirror of https://gitlab.com/jarv/cmdchallenge
https://about.cmdchallenge.com
MIT License
720 stars 72 forks source link

Rename timeouting #136

Open kepi opened 7 years ago

kepi commented 7 years ago

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.

nickgarvey commented 7 years ago

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?