[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org back up

From: Teemu Likonen
Subject: Re: [O] org back up
Date: Wed, 17 Oct 2012 22:41:49 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Sanjib Sikder [2012-10-18 00:56:46 +0530] wrote:

> I do not find personal crontab file. how do I create it ? crontab -e says
> my personal file is not there

With "crontab -e" in Debian system.

> If I want to run it as root then how do modify the following code as
> it is nor working ..

You should probably read the manual page of "find" and learn all the
relevant options. But here's my new version which uses full paths.



mkdir -p "$target" && \
        find "$dir" -type f -name '*.org' ! -path "$target/*" \
        -exec cp -t "$target" {} +

reply via email to

[Prev in Thread] Current Thread [Next in Thread]