I have a postscript that is creating symlinks of all the apps in a folder and placing them somewhere else on the system. This is working perfectly, but I was also hoping to change the names slightly.
For the sake of simplicity, the first 6 and last 4 characters of each are the same and that's what I'm hoping to remove.
I was hoping to do it all in 1 pass, but I have been unsuccessful so far. Here is my current 1 liner:```
ln -s /path/to/apps//.app /new/path/to/symlinks
```
I've played around with sed, but I can't get it to work because there's an intermediate directory in between the base and the .app files. If it weren't for that, this would be simple.
Any gurus want to take a crack?