Feature request: force download of all files in an iCloud folder, including hidden files
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Is it possible to force iCloud to download an entire folder, including hidden files? For example, can we include a command in `~/Documents/.profile` so all files in a-Shell iCloud folder are automatically downloaded upon opening a-Shell?
When I use macOS and a-Shell to manage the same iCloud folder (e.g. with pdflatex or task), I often encounter the annoyance of iCloud files not yet downloaded locally (so the files have an .icloud suffix). So far the best solution is to select all files and hit copy, which will force the downloading of all visible files in a folder, but this solution has two problems:
1. I need to leave the CLI and use the Files app to select all files and hit copy. I have tried commands like `open .` but it does not open the current directory in Files. The same command would have opened the current directly in Finder.
2. There is no way to select hidden folders or hidden files in the Files app. I ended up renaming `.task` to `task` just so that I can select the files in the folder to force download. Such renaming works with a modification to `.taskrc`, but would not work in some scenarios (e.g. the `.obsidian` file within an Obsidian vault).
So I am basically asking for an iCloud download behavior similar to what I see in macOS, in which files are automatically downloaded to the local disk.
**Notes added**: Interestingly, iSH accomplishes the "automatic" download after executing the `ls -a` command at the folder of interest. It works for both visible and hidden files/folders. The same trick does not work in a-Shell.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.