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: Greg Wooledge
Subject: Re: Passing list of filename suffixes to script.
Date: Sat, 24 Jul 2021 13:05:12 -0400

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]