On Sun, Jun 8, 2014 at 4:03 AM, Sharon Kimble
wrote:
>
> Revisiting a question that I asked in March last year about how to
> auto-empty a trash bin.
>
> This has worked very well until today, when on one of my drives it
> also deleted the trash bin as well, so my follow-on script to give
> me the
On Jun 8, 2014 3:11 AM, "Sharon Kimble" wrote:
>
> Revisiting a question that I asked in March last year about how to
> auto-empty a trash bin.
>
> This has worked very well until today, when on one of my drives it
> also deleted the trash bin as well, so my follow-on script to give
> me the size
On 8/06/2014 6:03 PM, Sharon Kimble wrote:
> Revisiting a question that I asked in March last year about how to
> auto-empty a trash bin.
>
> This has worked very well until today, when on one of my drives it
> also deleted the trash bin as well, so my follow-on script to give
> me the size of my
Ahoj,
Dňa Sun, 08 Jun 2014 09:03:48 +0100 Sharon Kimble
napísal:
> Revisiting a question that I asked in March last year about how to
> auto-empty a trash bin.
>
I am created this for cca 2 years (sorry, comments in my language). It
takes mount points for block devices, check the Trash-* dirs
Sharon Kimble writes:
> Revisiting a question that I asked in March last year about how to
> auto-empty a trash bin.
>
> This has worked very well until today, when on one of my drives it
> also deleted the trash bin as well, so my follow-on script to give
> me the size of my trash bin failed as
On Sun, 2014-06-08 at 10:44 +0200, Ralf Mardorf wrote:
> On Sun, 2014-06-08 at 10:40 +0200, Ralf Mardorf wrote:
> > That's strange, since "rmdir --ignore-fail-on-non-empty" seemingly
> > shouldn't remove the directory. I wasn't aware about this, so I tested
> > it, resp. compared it to "rm -r" [1].
On Sun, 2014-06-08 at 10:40 +0200, Ralf Mardorf wrote:
> That's strange, since "rmdir --ignore-fail-on-non-empty" seemingly
> shouldn't remove the directory. I wasn't aware about this, so I tested
> it, resp. compared it to "rm -r" [1].
>
> Perhaps you should post the complete script, the culprit
That's strange, since "rmdir --ignore-fail-on-non-empty" seemingly
shouldn't remove the directory. I wasn't aware about this, so I tested
it, resp. compared it to "rm -r" [1].
Perhaps you should post the complete script, the culprit seems not to be
"rmdir".
[1]
[rocketmouse@archlinux ~]$ touch ~/
Revisiting a question that I asked in March last year about how to
auto-empty a trash bin.
This has worked very well until today, when on one of my drives it
also deleted the trash bin as well, so my follow-on script to give
me the size of my trash bin failed as there wasn’t a trash bin to
evaluat
Dňa 03.03.2013 23:04 Sharon Kimble wrote / napísal(a):
> I'm trying to get a bash script working from a cron job that will empty
> trash of all files and directories that are older than $N [7 days in
> this case]. This partly works but is very inefficient in that it
> doesn't delete everything tha
Hello Sharon
On 03/03/2013 11:04 PM, Sharon Kimble wrote:
I'm trying to get a bash script working from a cron job that will empty
trash of all files and directories that are older than $N [7 days in
this case].
May be it is not what you need, but I look at package tmpreaper.
--
Best regards,
Hello Sharon, bob and everyone!
On Mon, 4 Mar 2013 02:29:09 +
Sharon Kimble wrote:
> [...]
> 'atime' is not installed as its not in the wheezy repos, and
> when i want to install it apt-get comes back at me saying "E:
> Unable to locate package atime"
That is expected. atime is not a packa
I'm using 'Dolphin' from KDE as my file manager, that's the only GUI'ness
in usage in this situation! :)
The 'emptytrash' script is called at 1300 each day from cron, giving
plenty of time to leave stuff in the waste bin for future retrieval.
'atime' is not installed as its not in the wheezy rep
Sharon Kimble wrote:
> Thanks, after repopulating .trash with files suitable for deleting, i was
> able to test it out. And' find $HOME/.local/share/Trash -type f -mtime
> +7' did find one file, which i was then able to delete by running the same
> command again with '-delete' at the end.
Yay!
Thanks, after repopulating .trash with files suitable for deleting, i was
able to test it out. And' find $HOME/.local/share/Trash -type f -mtime
+7' did find one file, which i was then able to delete by running the same
command again with '-delete' at the end.
I now see in .trash that there ar
Sharon Kimble wrote:
> Thanks for this, and I've tried it out but its still not deleting files, as
> I output it to a txt.file which still remain empty.
Please say more. It works for me. You say it isn't deleting files
for you. It is possible the permissions will prevent you from
deleting files
I've done some googling, and got it to work using this line 'rm -rf
/home/YOURUSERNAME/.local/share/Trash/files/*' but this just
blanket-empties the trash can without any care for retaining 7
days worth of files.
Sharon.
On 3 March 2013 23:27, Sharon Kimble wrote:
> Thanks for this, and I've t
Thanks for this, and I've tried it out but its still not deleting files, as
I output it to a txt.file which still remain empty.
There is a programme, ported from ubuntu, called 'autotrash' in the repos.
And although I've set it up as per its man page, but its output remains at
zero, and not workin
Sharon Kimble wrote:
> I'm trying to get a bash script working from a cron job that will empty
> trash of all files and directories that are older than $N [7 days in
> this case]. This partly works but is very inefficient in that it
> doesn't delete everything that is available to be deleted, just
I'm trying to get a bash script working from a cron job that will empty
trash of all files and directories that are older than $N [7 days in
this case]. This partly works but is very inefficient in that it
doesn't delete everything that is available to be deleted, just tends
to leave stuff with no
20 matches
Mail list logo