getFilesByType or another mime type code example
Example: getFilesByType or another mime type
var files = sourceFolder.searchFiles("mimeType='" + MimeType.MICROSOFT_WORD_LEGACY + "' or mimeType='" + MimeType.MICROSOFT_WORD + "'");
var files = sourceFolder.searchFiles("mimeType='" + MimeType.MICROSOFT_WORD_LEGACY + "' or mimeType='" + MimeType.MICROSOFT_WORD + "'");