ergänze select script
This commit is contained in:
parent
50b7d19b6b
commit
5e2ae0e5de
3
select
3
select
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#wenn delete file exits
|
#wenn delete file exits -> handle deletons (importand for konflict handling
|
||||||
[ -f RM ] && {
|
[ -f RM ] && {
|
||||||
cat RM | cut -c -32 | while read line; do sed -i "/$line/d" vorhanden ; done
|
cat RM | cut -c -32 | while read line; do sed -i "/$line/d" vorhanden ; done
|
||||||
cat RM | cut -c 35- | while read line; do
|
cat RM | cut -c 35- | while read line; do
|
||||||
@ -10,6 +10,7 @@
|
|||||||
sed -i "/$md5/d" vorhanden
|
sed -i "/$md5/d" vorhanden
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
rm RM
|
||||||
}
|
}
|
||||||
|
|
||||||
#gleiche dateien anhand md5 aussortieren
|
#gleiche dateien anhand md5 aussortieren
|
||||||
|
Loading…
Reference in New Issue
Block a user