KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I know there are a lot of things like this around, but either they don't work recursively or they are huge. This is what I got: find . -name "*.so" -exec mv {} `echo {} | sed s/.so/.dylib/` \; When I just run the find part it gives me a list of files. When I run the sed part it replaces any .so with .dylib. When I run them together they don't work. I replaced mv with echo to see what happened: ./AI/Interfaces/C/0.1/libAIInterface.so ./AI/Interfaces/C/0.1/libAIInterface.so Nothing is replaced at all! What is wrong?
Tags (comma-separated)
Save Edits
Cancel