"RM" -> 2rm
This commit is contained in:
parent
dd911eedb1
commit
4aa4383da3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/transport
|
||||
/.Trash-*
|
||||
*.md5
|
||||
|
10
select
10
select
@ -1,8 +1,10 @@
|
||||
#!/bin/bash
|
||||
#wenn delete file exits -> handle deletons (importand for konflict handling
|
||||
[ -f RM ] && {
|
||||
cat RM | cut -c -32 | while read line; do sed -i "/$line/d" vorhanden ; done
|
||||
cat RM | cut -c 35- | while read line; do
|
||||
[ -f 2rm ] && {
|
||||
cat 2rm | cut -c -32 | while read line; do
|
||||
sed -i "/$line/d" vorhanden
|
||||
done
|
||||
cat 2rm | cut -c 35- | while read line; do
|
||||
l=$(grep " $line"$ vorhanden)
|
||||
[ -n "$l" ] && {
|
||||
echo $l
|
||||
@ -10,7 +12,7 @@
|
||||
sed -i "/$md5/d" vorhanden
|
||||
}
|
||||
done
|
||||
rm RM
|
||||
rm 2rm
|
||||
}
|
||||
|
||||
#gleiche dateien anhand md5 aussortieren
|
||||
|
Loading…
Reference in New Issue
Block a user