You don't want to use command line tools to remove files from nextcloud unless it is the occ tool. 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. 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. 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. ----------------------------- Message: 5 Date: Sat, 21 Nov 2020 08:35:34 -0700 From: Aaron Jones To: Main PLUG discussion list Subject: Re: Nextcloud photos backups Message-ID: <06C87362-E9F6-45FC-B8AD-B348CDFB3020@gmail.com> Content-Type: text/plain; charset=utf-8 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. > On Nov 21, 2020, at 1:41 AM, der.hans via PLUG-discuss wrote: > > moin moin, > > I have an old experiemental Nextcloud install where I saved some files and > other documents. I don't care about anything else I played with. I also > don't care about shared links because they should not have been available > anyway :). > > If I just want to backup the files I can backup $ncdatadir/$user/files and > get everything? > > Also, if this were still active, could I just rm files to remove them from > Nextcloud? > > I see there are also files_trashbin and files_versions, so it seems I > might have to root around in those to make sure it's truly gone from the > system. > > I'm certain that removing them removes them, but not sure if Nextcloud > will then continue looking for them until the end of time ... > > ciao, > > der.hans