Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-19 Thread karl
Stroller: > > On 18 Feb 2018, at 17:47, Floyd Anderson wrote: > >> > >> $ cat t.sh > >> #!/bin/bash > >> TMPF=$(mktemp "/tmp/detox_wrapper.$$.") > >> for f in "$@"; do > >> touch -r "$f" "$TMPF" > >> detox "$f" > >> touch -r "$TMPF" "$f" > >> done > >> rm -f "$TMPF"

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-19 Thread Stroller
> On 18 Feb 2018, at 11:38, Stroller wrote: >> >> With the tool 'detox' those filenames could be fixed. >> >> But detox changes the time stamp of the files, which >> filenames are altered (not all files, which are examined). >> >> Is there a way to either get

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-19 Thread Stroller
> On 18 Feb 2018, at 17:47, Floyd Anderson wrote: >> >> $ cat t.sh >> #!/bin/bash >> TMPF=$(mktemp "/tmp/detox_wrapper.$$.") >> for f in "$@"; do >> touch -r "$f" "$TMPF" >> detox "$f" >> touch -r "$TMPF" "$f" >> done >> rm -f "$TMPF" > > If I’m not totally wrong,

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread Floyd Anderson
Hi David, On Sun, 18 Feb 2018 17:34:21 +0100 David Haller wrote: Hello, On Sun, 18 Feb 2018, Floyd Anderson wrote: On Sun, 18 Feb 2018 14:44:24 +0100 tu...@posteo.de wrote: On 02/18 01:55, Floyd Anderson wrote: > On Sun, 18 Feb 2018 13:07:33 +0100 > tu...@posteo.de wrote:

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread David Haller
Hello, On Sun, 18 Feb 2018, Floyd Anderson wrote: >On Sun, 18 Feb 2018 14:44:24 +0100 >tu...@posteo.de wrote: >> On 02/18 01:55, Floyd Anderson wrote: >> > On Sun, 18 Feb 2018 13:07:33 +0100 >> > tu...@posteo.de wrote: >> > > On 02/18 11:38, Stroller wrote: [..] >> > > > I think: >> > > > >> > >

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread Floyd Anderson
On Sun, 18 Feb 2018 14:44:24 +0100 tu...@posteo.de wrote: On 02/18 01:55, Floyd Anderson wrote: On Sun, 18 Feb 2018 13:07:33 +0100 tu...@posteo.de wrote: > On 02/18 11:38, Stroller wrote: > > > > > On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > > > > > when downloading files from non-UNIX

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread tuxic
On 02/18 01:55, Floyd Anderson wrote: > On Sun, 18 Feb 2018 13:07:33 +0100 > tu...@posteo.de wrote: > > On 02/18 11:38, Stroller wrote: > > > > > > > On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > > > > > > > when downloading files from non-UNIX sites, they often contain > > > > "poisonoys"

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread Floyd Anderson
On Sun, 18 Feb 2018 13:07:33 +0100 tu...@posteo.de wrote: On 02/18 11:38, Stroller wrote: > On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > when downloading files from non-UNIX sites, they often contain > "poisonoys" characters like '#', ' ', ''' or that alike. > > With the tool 'detox'

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread tuxic
On 02/18 11:38, Stroller wrote: > > > On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > > > when downloading files from non-UNIX sites, they often contain > > "poisonoys" characters like '#', ' ', ''' or that alike. > > > > With the tool 'detox' those filenames could be fixed. > > > > But

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread tuxic
On 02/18 11:38, Stroller wrote: > > > On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > > > when downloading files from non-UNIX sites, they often contain > > "poisonoys" characters like '#', ' ', ''' or that alike. > > > > With the tool 'detox' those filenames could be fixed. > > > > But

Re: [gentoo-user] detox'ing files by keeping their time stamp?

2018-02-18 Thread Stroller
> On 18 Feb 2018, at 08:21, tu...@posteo.de wrote: > > when downloading files from non-UNIX sites, they often contain > "poisonoys" characters like '#', ' ', ''' or that alike. > > With the tool 'detox' those filenames could be fixed. > > But detox changes the time stamp of the files, which >