Forum Discussion

heidi_andrew's avatar
heidi_andrew
Contributor
2 years ago

Change file names

I need to change the file location for about 100 files. Is there a faster way to change the smb location other than giong into the file writer snaps for all 100?

4 Replies

  • Hello @heidi.andrew,

    In such a case you might consider using the Directory Browser Snap and File Writer then File Delete, since I think that the File Operation Snap does not support operations on files on SMB.

    Let me know if this helps you.

    BR,
    Aleksandar.

    • heidi_andrew's avatar
      heidi_andrew
      Contributor

      file delete does not work with smb. smb is my only choice for file writer. i want to change the file names for all of these files…

  • Hi @heidi.andrew

    Alternatively you can use Multi File Reader snap to read the files from source folder and use File Writer snap to write to a new location. You can replace the source folder with the target folder while writing the file. Finally, delete the files from source folder

    • heidi_andrew's avatar
      heidi_andrew
      Contributor

      i will still have to go in to every file writer snap. is there a way to use a pipeline parameter to look for company id and the current quarter in order to name the files?