move files folders between folders google apps
<p>I want to use google storage for store our backup in google cloud. </p>

<p>So I have install google drive application on my system &amp; tick mark only sync some folders to this computer that include share folder that i have shared with all my domain users to store important data.</p>

<p>In Google drive created Backup folder that i have not synced with my computer that help me to not consume my computer hard disk space &amp; want to copy paste or move my data between share folder to backup folder. So finally my data store in google drive backup folder. If accidentally delete any files from share folder i can recover through backup folder.</p>

<p>TO MOVE FILES BETWEEN FOLDER I GET BELOW SCRIPT .</p>

<pre><code>function moveFileToFolder(fileId, targetFolderId) {
  var targetFolder = DocsList.getFolderById(targetFolderId);
  var file = DocsList.getFileById(fileId);
  file.addToFolder(targetFolder);
};
</code></pre>

<p>I am not able to understand where which value put, so please suggest ? </p>
