From b1ba2d4d68474bf36aea64a2057caf853bb86391 Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Mon, 15 Apr 2019 12:20:35 -0400 Subject: [PATCH] Update README to account for alternate rename commands --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 16c57cc7..3217fe99 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,21 @@ git clone https://github.com/triqs/app4triqs --branch unstable mynewapp cd mynewapp git remote set-url origin https://github.com/myuser/mynewapp find . -type f | grep -v .git | xargs sed -i 's/app4triqs/mynewapp/g; s/APP4TRIQS/MYNEWAPP/g' -find . | grep -v .git | xargs rename 's/app4triqs/mytriqsapp/' +find . -type d | grep -v .git | xargs rename app4triqs mynewapp +find . -type f | grep -v .git | xargs rename app4triqs mynewapp git add -A git commit -m "Create mynewapp from github.com/triqs/app4triqs skeleton" git push ``` +Depending on which version of the rename command you are using you may +need to replace the aforementioned rename commands as follows + +```bash +find . -type d | grep -v .git | xargs rename 's/app4triqs/mynewapp/' +find . -type f | grep -v .git | xargs rename 's/app4triqs/mynewapp/' +``` + If you prefer to use the SSH interface to the remote repository, replace the http link accordingly