help-bash
[Top][All Lists]
Advanced

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

Re: Passing list of filename suffixes to script.


From: Alex fxmbsw7 Ratchev
Subject: Re: Passing list of filename suffixes to script.
Date: Sat, 24 Jul 2021 19:06:44 +0200

ah oh i dont understand much of it
i read only different sutffixes
maybe i can make a find -regex one

On Sat, Jul 24, 2021 at 7:05 PM Greg Wooledge <greg@wooledge.org> wrote:
>
> On Sat, Jul 24, 2021 at 07:02:43PM +0200, Alex fxmbsw7 Ratchev wrote:
> > rsync "${pre[@]}" "${@/#/--accept=}" "${stu[@]}"
>
> This doesn't put the * characters in.  But that should be an easy fix.
>
> However, I'm betting the explicit for loop will be a better fit for
> this problem, as the OP said there were other "checks" to be performed.
>



reply via email to

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