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