Renaming Files in Google Drive Subfolders

:us: Hello,

I can’t seem to complete what seems like a simple scenario: renaming files in subfolders of a main folder in Google Drive.

I’ve tried using “watch,” “search,” or “list files,” but I never manage to succeed.

The main folder is in Drive. Each time there’s a new client, a folder is created inside this main folder with the following structure: LASTNAME Firstname ClientNumber, and two documents are added to the folder: a CV and a cover letter.

I’d like to rename these two files by using the folder name (LASTNAME Firstname ClientNumber) and adding either CV or CL (keywords from the name of the imported document).

In this simple scenario, it works if I place the file directly in the main folder, but not when I put it in the relevant subfolder.

Does anyone have an idea?


Bonjour
Je n’arrive pas à aboutir sur un scénario à priori simple : renommer des fichiers dans des sous dossiers d’un dossier principal dans le drive google.
Je pars de watch ou de search ou list files… Je n’aboutis jamais.
Le fichier principal est dans le drive, chaque fois qu’il y’a un nouveau client : dossier créé dans ce dossier principal avec NOM Prénom et n° client et deux documents ajoutés dans le dossier : CV et lettre motivation.
Je voudrais renommer ces deux fichiers en reprenant le nom du dossier (nom…) et rajouter seulement CV ou LM (mots clés dans le nom du document importé).
Dans ce scénario simple, ça marche si je met le fichier dans le dossier principal mais pas si je le mets dans le sous dossier concerné.
Quelqu’un a une idée ?

1 Like

Hey @MARTINE_RUGIU

You should use “rename a file/folder” module from google drive. You will have to use separate module for each file. Or you can create a App Script. Hope this helps.

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

Hey @Msquare_Automation
Opening this older topic because it’s relevant… There is no “rename file/folder” anymore.
Only rename folder.

Is that a bug? Can’t believe it’s not possible to rename files, only folders.

1 Like

Try using the Google Drive “Update a File” module:

Updates a file’s metadata and/or content.

For more information, see https://www.make.com/en/integrations/google-drive, and https://www.make.com/en/help/app/google-drive in the help centre.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like

Hi @M_S
There is module named rename a file

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like

fantastic thanks. This worked

Hi @M_S,

I’m so glad you found the solution! :slight_smile: If you could mark the right post that helped you, it would be really helpful for others as well.

Thanks a lot, and have a fantastic day! :sunny:

2 Likes

No problem, really glad I could help!

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like