Apple Automator to add password to all files within a folder including subfolders and over right files - pdf

I have a folder with multiple subfolders, each subfolder contains 1 or more PDF files.
I would like to add password to each file and save over.
My current automator, can get all the files, add password, but then cannot replace the files into their original folders.

Related

Do I have to move my Dropbox folder to work with JupyterLab?

The File menu in JupyterLab has few options for saving and opening files. The menu items do let one browse the file system and search for a directory. For example, the File->Open from Path... menu item only allows entering a file on a path relative to /jlab/root. Questions:
What is the location of /jlab/root. Is there a command that shows it?
I like to keep files with code in a subfolder of my Dropbox folder. What do I do if my Dropbox folder is not a subfolder of /jlab/root?

VBA-How to convert a local path of a file in a folder managed by Drive File Stream into an URL

My goal is to create an xls sheet containing a list of files (file name + link to the file) contained in a folder.
This folder is a GDrive synchronized folder (using Drive File Stream)
I have a VBA macro which is producing this list of files but the link is a local link (G:...) and not an URL link (https://drive.google.com/...) that can be used outside my computer.
Here is an exemple
Let say I have a file in my "Drive File Stream" folder like this one:
G:\Team Drives\Test\my_file.txt
How to convert this path (using excel vba) into a GDrive's URL:
https://drive.google.com/file/d/FILE_ID/edit?usp=sharing
Another way to ask is how to get the file_id from a local path?

How to copy artifacts folder to ftp folder in TFS?

I'm trying to publish artifacts and it's other folders files as well.I've read all the docs file provide by microsoft from here and used them but none of them worked for me.
I' tried File patterns as
** =>which copied all root files to ftp
**\* => which copied all sub folders file to ftp's root directory.
What I've wanted is copy folder to folder in ftp aswell.
-artifacts ftp
--a.dll --a.dll
--subfolder --subfolder
---subfolder_1.dll ---subfolder_1.dll
what's happening is
ftp
--a.dll
--subfolder_1.dll
It's copying all sub directories file to root directory of ftp.
I've use curl and ftp both giving me same result.
How can i achieve folder to folder copy in TFS 2017.
It's not related File patterns, to upload the entire folder content recursively, simply specify **.
All you have to do is checking the Preserve file paths in Advanced option.
If selected, the relative local directory structure is recreated under
the remote directory where files are uploaded. Otherwise, files are
uploaded directly to the remote directory without creating additional
subdirectories.
For example, suppose your source folder is: /home/user/source/ and
contains the file: foo/bar/foobar.txt, and your remote directory
is: /uploads/. If selected, the file is uploaded to:
/uploads/foo/bar/foobar.txt. Otherwise, to: /uploads/foobar.txt.

Apache htaccess setting default index.html or <folder name>.html

We have an automated legacy system that provides zip files with html content (including images and other files). The system will either provide a folder with an index file or a file with the name as the folder.
For example say the file being sent in was User Supplies.zip
We would either see a folder structure like this
User Supplies/index.html
or like this
User Supplies/User Supplies.html
Currently we examine the contents for the zip file and rename anything that matches the folder name back to index.html. Since there could be other html files in there it has become a bit of spaghetti code to get it to work.
We could get rid of all this code if we can include something to the equivalent of "Use index.html or [folder name].html as the default file"

Uploadify - How to upload contents of a folder recursively

I need to upload files in a folder recursively.
Is it possible to use Uploadify to upload contents of a folder recursively by selecting the folder instead of selecting individual files in a folder?
I would not think so. The browser is in control of the file selection dialog (which will not allow you to select folders, only files).
I have not tried the file drag-drop feature of the paid Uploadifive (HTML 5 version), but it might support dragging a folder. Not sure what HTML 5 allows with with drag-drop