Compare commits
2 Commits
master
...
31-old-fil
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d353579aa0 | ||
|
|
05b72b70d7 |
5
atom
5
atom
@ -226,7 +226,12 @@ do
|
|||||||
rest=${line#*::AtOM:SQL:Sep::}
|
rest=${line#*::AtOM:SQL:Sep::}
|
||||||
removeFileDestName=${rest%%::AtOM:SQL:Sep::*}
|
removeFileDestName=${rest%%::AtOM:SQL:Sep::*}
|
||||||
rest=${rest#*::AtOM:SQL:Sep::}
|
rest=${rest#*::AtOM:SQL:Sep::}
|
||||||
|
if [[ -n "${rest%%::AtOM:SQL:Sep::*}" ]]
|
||||||
|
then
|
||||||
removefile[$removeFileId]="${destinationpath["$removeFileDestName"]}/${rest%%::AtOM:SQL:Sep::*}"
|
removefile[$removeFileId]="${destinationpath["$removeFileDestName"]}/${rest%%::AtOM:SQL:Sep::*}"
|
||||||
|
else
|
||||||
|
removefile[$removeFileId]=''
|
||||||
|
fi
|
||||||
read -u4 -r -d $'\0' line
|
read -u4 -r -d $'\0' line
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
@ -6,7 +6,6 @@ CREATE TABLE IF NOT EXISTS source_files (
|
|||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
filename TEXT UNIQUE NOT NULL,
|
filename TEXT UNIQUE NOT NULL,
|
||||||
size INTEGER NOT NULL,
|
size INTEGER NOT NULL,
|
||||||
hash TEXT,
|
|
||||||
mime_type INTEGER,
|
mime_type INTEGER,
|
||||||
last_change FLOAT NOT NULL DEFAULT (strftime('%s','now')),
|
last_change FLOAT NOT NULL DEFAULT (strftime('%s','now')),
|
||||||
last_seen INTEGER NOT NULL DEFAULT (strftime('%s','now')),
|
last_seen INTEGER NOT NULL DEFAULT (strftime('%s','now')),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user