File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
share/github-backup-utils Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
128
128
bm_end " $( basename $0 ) - Generating routes"
129
129
130
130
bm_start " $( basename $0 ) - Fetching routes"
131
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
131
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
132
132
cat $routes_list | ghe_debug
133
133
bm_end " $( basename $0 ) - Fetching routes"
134
134
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
96
96
bm_end " $( basename $0 ) - Generating routes"
97
97
98
98
bm_start " $( basename $0 ) - Fetching routes"
99
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
99
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
100
100
cat $routes_list | ghe_debug
101
101
bm_end " $( basename $0 ) - Fetching routes"
102
102
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
113
113
bm_end " $( basename $0 ) - Generating routes"
114
114
115
115
bm_start " $( basename $0 ) - Fetching routes"
116
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
116
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
117
117
cat $routes_list | ghe_debug
118
118
bm_end " $( basename $0 ) - Fetching routes"
119
119
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
125
125
bm_end " $( basename $0 ) - Generating routes"
126
126
127
127
bm_start " $( basename $0 ) - Fetching routes"
128
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
128
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
129
129
cat $routes_list | ghe_debug
130
130
bm_end " $( basename $0 ) - Fetching routes"
131
131
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
115
115
bm_end " $( basename $0 ) - Generating routes"
116
116
117
117
bm_start " $( basename $0 ) - Transferring routes"
118
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
118
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
119
119
cat $routes_list | ghe_debug
120
120
bm_end " $( basename $0 ) - Transferring routes"
121
121
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ ghe-ssh "$GHE_HOSTNAME" -- cat $remote_routes_list | ghe_debug
105
105
bm_end " $( basename $0 ) - Generating routes"
106
106
107
107
bm_start " $( basename $0 ) - Fetching routes"
108
- ghe-ssh " $GHE_HOSTNAME " -- cat $remote_routes_list > $routes_list
108
+ ghe-ssh " $GHE_HOSTNAME " -- gzip -c $remote_routes_list | gzip -d > $routes_list
109
109
cat $routes_list | ghe_debug
110
110
bm_end " $( basename $0 ) - Fetching routes"
111
111
You can’t perform that action at this time.
0 commit comments