Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Upload to all directories within a directory

You can write a (PowerShell) script that enumerates the remote folders and then uploads the files to each.
myultima

Upload to all directories within a directory

Hello!

How can i upload a file into all folders in a "user" directory without manually writing a destination to each folder?

Will this one line work...

put example.txt /home/user/*.*/

instead of..

put example.txt /home/user/folder1/
put example.txt /home/user/folder2/
put example.txt /home/user/folder3/

??


Because i have a lot of folders and it's going to be hard to manually insert all the destinations.

Thanks!