r/AutomateUser • • 8d ago

Flow Request - Folder content Export

Hey guys

Could someone share with me a flow that create a txt files or csv files from the content of an folder and its subfolders please

Thank you

1 Upvotes

4 comments sorted by

3

u/ballzak69 Automate developer 7d ago

A flow like:

  1. Flow beginning
  2. File pick: File type=Directory, Show window=yes, Picked path=dir
  3. File list: Path=dir, Recursive=yes, Filenames=filenames
  4. File pick: File type=File, Writable=yes, Allow new=yes, Show window=yes, Picked path=file
  5. File write: Content=join(filenames,"\n"), File=file

1

u/LooneyXIII 7d ago

Thank you so much it work like intended 😁 I got just two questions is there a way to only get file name without the path or extension and also where do I learn how to use this app Again thank for your help

1

u/ballzak69 Automate developer 6d ago

The you'll have to use the For each block, see here.

1

u/Useful_Commercial617 6d ago

Get files ne descend pas dans les sous-dossiers, il boucle uniquement sur ce que tu lui donnes, donc sans une boucle sur chaque dossier trouvé tu n'auras que le premier niveau. Et l'action Créer un fichier écrit du texte brut dans les deux cas, tu ne génÚres pas un vrai csv avec ça.