---
title: "Convert Doc to PDF and move into a new folder with Google Apps Script"
author: "Phil Bainbridge"
date: 2019-12-20T14:23:00+00:00
modified: 2019-12-20T14:39:48+00:00
canonical_url: https://pulse.appsscript.info/p/2019/12/convert-doc-to-pdf-and-move-into-a-new-folder-with-google-apps-script/
markdown_url: https://pulse.appsscript.info/p/2019/12/convert-doc-to-pdf-and-move-into-a-new-folder-with-google-apps-script.md
categories:
  - "Docs"
  - "Drive"
  - "Snippet"
  - "Solutions"
tags:
  - "pbainbridge.co.uk"
description: "Create a PDF version of a Google Doc, move it into a new folder, remove its parents so it only exists in the new folder (typically also exists in My Drive) and then trash the..."
---

# Convert Doc to PDF and move into a new folder with Google Apps Script

> Create a PDF version of a Google Doc, move it into a new folder, remove its parents so it only exists in the new folder (typically also exists in My Drive) and then trash the Doc.

Source: *[The Gift of Script: Convert Doc to PDF and move into a new folder*](https://www.pbainbridge.co.uk/2019/01/convert-doc-to-pdf-and-move-into-new.html)

---

*Published by [Phil Bainbridge](https://pulse.appsscript.info/p/author/phillipbainbridge/) on [Pulse](https://pulse.appsscript.info/). Original article: [https://pulse.appsscript.info/p/2019/12/convert-doc-to-pdf-and-move-into-a-new-folder-with-google-apps-script/](https://pulse.appsscript.info/p/2019/12/convert-doc-to-pdf-and-move-into-a-new-folder-with-google-apps-script/)*
