Skip to content

Commit

Permalink
jshinavi's recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsh committed Jun 30, 2022
1 parent 5d58893 commit f45c07b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
13 changes: 6 additions & 7 deletions list-of-repositories.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
uber-company
uber-joshsh
private
personal
public
universal

repositories/data-public
repositories/data-universal
repositories/notes-company
repositories/notes-personal
repositories/personal
repositories/private
4 changes: 3 additions & 1 deletion lost-nodes.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

MAIN_DIR=$PWD

DELS=/tmp/smsn-deleted-files # to collect the deleted files from the 4 repos
ADDS=/tmp/smsn-new-files # to collect the added files from the 4 repos
echo "" > $DELS
Expand All @@ -8,7 +10,7 @@ for DIR in `cat list-of-repositories.txt`; do
cd $DIR
git ls-files -d >> $DELS
git ls-files -o >> $ADDS
cd ..
cd $MAIN_DIR
done
sort $DELS > $DELS.sorted
sort $ADDS > $ADDS.sorted
Expand Down

0 comments on commit f45c07b

Please sign in to comment.