Posts by maxdido

    When I run a script, to create a tar backup and delete files older than 7 days, with the find command it doesn't do -delete

    I don't understand what I'm doing wrong. I wrote/copied, from internet, the script in notepad++ on windows 10. As you can see in below screenshot the code and the error I get. Th TAR file is being made, that works.

    I made a TAR backup with the libreelec backup function several days ago of a clean installation and now, after I filled the media database with my movies and tv shows, I changed 1 file. I would like to add that file to the TAR backup file. I can do that by copy the file to my windows pc and add it with 7z (compression)program to the TAR. What I notice is that the added file has different file permissions + user + group (see attached image). It becomes -rwxrwxrwx but it should be -rw-r--r--

    1. Will this be a problem in the future when I restore that file, are the file permissions and user/group names not important?

    2. Or is there another way to add this one file to the TAR with correct file permissions, maybe without the use of windows but through ssh? I'm not so good with coding but perhaps with a little help...

    I have Raspberry Pi 4 with libreelec 10RC1 and a windows 10 laptop.