Don't run sed if no metadata files are found
This commit is contained in:
parent
fbd6f6f16a
commit
2f208b01d6
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function unpack(){
|
||||||
|
|
||||||
# marks all as unsynced so that they are not deleted
|
# marks all as unsynced so that they are not deleted
|
||||||
function fixsync(){
|
function fixsync(){
|
||||||
grep sync ~/.local/share/remarkable/xochitl/*.metadata -l | xargs sed -i 's/synced\": true/synced\": false/'
|
grep sync ~/.local/share/remarkable/xochitl/*.metadata -l | xargs -r sed -i 's/synced\": true/synced\": false/'
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_proxyservice(){
|
function install_proxyservice(){
|
||||||
|
|
Loading…
Add table
Reference in a new issue