command line
4 TopicsHow can I run the Onedrive.app command-line on MacOS ? (As a workaround for files not being synced)
Hello, OneDrive is not syncing files that have been created on one Mac to another Mac logged in with the exact same OneDrive (personal) account, even when the option to always keep the files locally is selected on the root OneDrive folder. Use case : OneDrive runs on both Macs. One both Macs, go to Onedrive location in the Finder. Right-click in the Finder view and select "Always keep on this device". Then create a .docx file in the OneDrive folder on one mac. Wait. The other mac shows the file, but it is not downloaded. Attempts at accessing the file from a backup software (Arq Backup) results in an error that the file is not on disk. This is my main problem, so if anyone has suggestions to fix it, I'll be really happy ! Now : as a workaround, I wanted to try to pin any new files from a script by running /Applications/OneDrive.App/Contents/MacOS/OneDrive /setpin as per https://learn.microsoft.com/en-us/onedrive/files-on-demand-mac But this does not work : launching the OneDrive app from Terminal results in an error that Onedrive.app is already running (well, duh, of course, otherwise how would it sync ??) : OneDrive[7456:546949] Another instance of OneDrive is already running. Shutting down. Has anyone worked out how to actually use the app as per the documentation says ? Thanks !11KViews0likes3CommentsRobocopy sees differences in files even when there are none BUG
Edit: Is this taken seriously, or did I post it at the wrong place? I hope I did not waste my time trying to report a bug in a widely used tool. Files have same time to the second and same content to the byte, the only thing is that source is a network drive. Does Microsoft not intend to fully support network drive as source? Edit 2: I dropped robocopy completely and found a quite good alternative: https://freefilesync.org/. After a small donation, it even supports multithreaded copying. Not a command line tool unfortunately, but at least it is able to know when files are similar and it doesn't copy them again each time. When I copy files from my network drive to a local folder and immediately re-run the command, all files are copied again instead of being skipped like they're supposed to. robocopy "\\network\Document\Migration" D:\Migration /S /FFT Please see my superuser question for more infos https://superuser.com/questions/1733527/robocopy-from-network-drive-doesnt-skip-duplicates. I searched elsewhere on the web and found that some german person in 2013 had the exact same problem - no issue was found https://www.synology-forum.de/threads/robocopy-sieht-identische-dateien-als-geaendert-an-fft-hilft-nicht.41341/ I don't know if this is linked to https://social.technet.microsoft.com/Forums/en-US/6eba1f81-8666-42ce-9aaa-e9cf8814c64f/robocopy-problem-under-windows-8 I am flabbergasted that robocopy cannot be trusted to do this so basic thing which is comparing 3 things: name, date and size. More so that the switch that was created for this purpose /FFT does not work for me. Is there a way to see WHAT differences robocopy sees between the files? Because according to robocopy "\\network\Document\Migration" d:\migration /l /ts /nc /ndl /njh /njs /FFT All files are similar (same date) and `fc` shows that there are no differences. 0 2022/07/25 11:31:55 d:\migration\file 1.txt 0 2022/07/25 11:32:06 d:\migration\file 2.txt 0 2022/07/25 11:32:18 d:\migration\File 3.docx 0 2022/07/25 11:31:55 \\network\Document\Migration\file 1.txt 0 2022/07/25 11:32:06 \\network\Document\Migration\file 2.txt 0 2022/07/25 11:32:18 \\network\Document\Migration\File 3.docx (If you pay close attention, this result from the command above in and itself is wrong, as I didn't include the "/IS" switch that enables same files. Same files should not be displayed at all)1.1KViews1like0CommentsHOW TO: Create a Windows Server 2019 NAS / FileServer from the command line
Windows Server 2019 default install has no GUI or Desktop. How do you go about setting this thing up from the command line? In this post I give you the How To on how to setup a simple File Server to replace an old NAS device that was failing in my home lab. We're talking PowerShell to configure Storage Spaces, User Accounts, SMB Shares, Power Profiles and more!64KViews5likes5Comments