I manually copy some files and want to scan specific file using files:scan command,
I know it has --unscaned flag but that doesn’t seem to work.
Why? If you use e.g. WebDAV instead of cp, sftp, scp, … there is no problem.
I think that is not possible.
You can scan perhaps with user_id and –unscanned
Using the occ command — Nextcloud latest Administration Manual latest documentation
When I use --unscanned I dont get the newly copied file.
+---------+-------+--------------+
| Folders | Files | Elapsed time |
+---------+-------+--------------+
| 0 | 0 | 00:00:01 |
+---------+-------+--------------+
Why? Why can you not use e.g. WebDAV or a Nextcloud client?
Can you scan for a user id? Perhaps it works.
well,though I sometimes manually copy files. I also have a shell script that reads readme.md file for youtube video links, which then convert to m4a and then I run the files:scan . what would be commandline approach to use webdav ? as of not I do not have manual step of copying an audio file.
a suggestion would be to use the rclone tool
[image]