From 34105abd9da84acf3df7d25b1a2947ee3778022c Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Thu, 11 Oct 2018 18:35:19 +0900
Subject: [PATCH] Fix

---
 src/tools/move-drive-files.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/tools/move-drive-files.ts b/src/tools/move-drive-files.ts
index 81a38c94d3..0c201ff8d5 100644
--- a/src/tools/move-drive-files.ts
+++ b/src/tools/move-drive-files.ts
@@ -10,7 +10,8 @@ DriveFile.find({
 		withoutChunks: { $exists: false }
 	}, {
 		withoutChunks: false
-	}]
+	}],
+	'metadata.deletedAt': { $exists: false }
 }, {
 	fields: {
 		_id: true