zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #01640
Re: howto strip metadata header
Of course, then I remembered that old adage, "Those who don't know
Unix are doomed to reinvent it, poorly." :)
$ find . -iname "*.txt" | while read f; do tail -n +5 "$f" | cat >"$f"; done
On Fri, Mar 2, 2012 at 08:47, Adam Porter <adam@xxxxxxxxxxxxx> wrote:
> This will process a directory tree and remove the first 4 lines of
> each file. I did a quick test on a copy of my tree, but please make
> sure to back up your data first, and if it blows up, it's your fault.
> :)
Follow ups
References