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

Rename timeouting #136

Open
kepi opened this issue May 3, 2017 · 1 comment
Open

Rename timeouting #136

kepi opened this issue May 3, 2017 · 1 comment

Comments

@kepi
Copy link

kepi commented May 3, 2017

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
Copy link

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?

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