4.3 Search by query + Add shortcut to Existing Folder
Additional function for search results on Google Drive
 
e.g. mimeType = 'image/jpeg'                        
 
 
insert Folder ID ,see URL folders/... 
 
 
Search and show files to Existing Folder
 
 
  test only one file
 
 
Search files by query
detects  Existing folder on google Drive by folder ID
links files with Existing folder without copying 
Google Drive has a function to create many Folders for one file. It looks like a shortcut in another folder, but in fact folders are connected to only one file. If you delete any folder, you’ll also delete located file everywhere, because file is one, and it is not represented by an independent shortcut. Linked folders have no size 

This function allows user to search files by search query and connect them automatically with indicated folder without copying. (Search query knowledge is required). Incorrect command will cause no results.  Browsing list helps user to construct correct command or combination of Commands.
E.g. user can insert any specific date or date range, file type, file size, author, owner, tags, etc


Folder ID on Google Drive is located in the browser address bar 
 (open folder and from address bar copy ID after – ” /folders/....” )

https://drive.google.com/drive/u/0/folders/0B_z6IokOI27EQnViRFRCYjM3akE

Search does not work for very new files and need time before Google Drive indexes them

examples of search query


fullText contains 'invoice'
- show all  invoices without copying,in the specified folder on Google Drive. 

modifiedDate > '2016-06-18T12:00:00'
- show all files in the specified folder without copying, on Google Drive, which are modified after  2016-06-18T12:00:00

fullText contains 'invoice' and modifiedDate > '2016-06-18T12:00:00'
- show all  invoices modified after  2016-06-18T12:00:00, without copying,in the specified folder on Google Drive. 

sharedWithMe and fullText contains 'invoice'
- show all invoices without copying,  shared With me in the specified folder on Google Drive.

mimeType contains 'image/'
- show all images without copying  in the specified folder on Google Drive 

mimeType = 'image/jpeg'
-show all jpg files without copying in the specified folder on Google Drive.
 
mimeType = 'image/bmp'
show all bmp files without copying in the specified folder on Google Drive.

mimeType contains 'video/'
show all video files without copying in the specified folder on Google Drive.

mimeType = 'video/avi'
show all avi files without copying in the specified folder on Google Drive.

mimeType = 'video/mpeg'
show all video mpeg files without copying in the specified folder on Google Drive.

mimeType = 'video/quicktime'
show all quicktime files without copying in the specified folder on Google Drive.

mimeType = 'audio/'
show all audio files without copying in the specified folder on Google Drive.

mimeType = 'audio/mp3'
show all mp3 files without copying in the specified folder on Google Drive.

mimeType = 'audio/wav'
show all wav audio files without copying in the specified folder on Google Drive.

mimeType = 'audio/midi'
show all midi files without copying in the specified folder on Google Drive.

mimeType = 'audio/mpeg'
show all audio mpeg files without copying in the specified folder on Google Drive.

mimeType = 'text/html'
show all html files without copying in the specified folder on Google Drive.

mimeType = 'application/vnd.google-apps.spreadsheet'

- show all  Google sheet files in the specified folder on Google Drive. 

mimeType = 'application/vnd.google-apps.document'

- show all  Google Doc files in the specified folder on Google Drive.