I’m in the process of moving from my gogs instance on git.icod.de to my gitea instance on code.icod.de In this process I’m migrating countless packages manually. It’s quite a lot of work. Often I need to replace “git.icod.de’ with ‘code.icod.de’ To do this on a Linux machine I use the following 1-liner:
|
1 |
grep 'git\.icod\.de/dalu/blogs' * -rl | xargs sed -i 's/git\.icod\.de\/dalu\/blogs/code.icod.de\/dalu\/blogs/g' |
In this…
Read Article