You don't want to use command line tools to remove  files from nextcloud unless it is the occ tool.<br>You were right, in relation to the trashbin; the database has an entry and all the files have something the correlate to. This is especially the case if your data is encrypted, because then there is a third decryption key folder.<br><br>The trash bin has entries in the database too, I'm pretty sure, but occ has a command for clearing all trashbins. Just use that. There is probably something like that for versions, too.<br><br>Lastly, if you do rm the files, I'm pretty sure you won't see any errors or anything, but the entries will still be in your database. Been a while since I had this issue myself, but that is what I recall.<br>-----------------------------<br><br>Message: 5<br>Date: Sat, 21 Nov 2020 08:35:34 -0700<br>From: Aaron Jones <retro64xyz@gmail.com><br>To: Main PLUG discussion list <plug-discuss@lists.phxlinux.org><br>Subject: Re: Nextcloud photos backups<br>Message-ID: <06C87362-E9F6-45FC-B8AD-B348CDFB3020@gmail.com><br>Content-Type: text/plain; charset=utf-8<br><br>You can’t use the web interface to download the files / folder in bulk and then choose to delete after diffing those folders to a file to see what it does? I would probably do that.<br><br>> On Nov 21, 2020, at 1:41 AM, der.hans via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:<br>><br>> moin moin,<br>><br>> I have an old experiemental Nextcloud install where I saved some files and<br>> other documents. I don't care about anything else I played with. I also<br>> don't care about shared links because they should not have been available<br>> anyway :).<br>><br>> If I just want to backup the files I can backup $ncdatadir/$user/files and<br>> get everything?<br>><br>> Also, if this were still active, could I just rm files to remove them from<br>> Nextcloud?<br>><br>> I see there are also files_trashbin and files_versions, so it seems I<br>> might have to root around in those to make sure it's truly gone from the<br>> system.<br>><br>> I'm certain that removing them removes them, but not sure if Nextcloud<br>> will then continue looking for them until the end of time ...<br>><br>> ciao,<br>><br>> der.hans<br><br>