Re: [gpfsug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs

2019-12-30 Thread Jonathan Buzzard
On 29/12/2019 14:24, Marc A Kaplan wrote: > Correct, you may need to use similar parsing/quoting techniques in your > renaming scripts. > 0 > Just remember, in Unix/Posix/Linux the only 2 special characters/codes > in path names are '/' and \0. The former delimits directories and the > latter

Re: [gpfsug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs

2019-12-30 Thread Marc A Kaplan
Also see if your distribution includes samples/ilm/mmxcp which, if you are determined to cp or mv from one path to another, shows a way to do that easily in perl, using code similar to the aforementions bin/mmxargs Here is the path changing part... ... $src =~ s/'/'\\''/g; # any ' within

Re: [gpfsug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs

2019-12-29 Thread Marc A Kaplan
ug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs Sent by:gpfsug-discuss-boun...@spectrumscale.org On 28/12/2019 19:49, Marc A Kaplan wrote: > The script in mmfs/bin/mmxargs handles mmapplypolicy EXTERNAL LIST file > lists perfectly. No nee

Re: [gpfsug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs

2019-12-29 Thread Jonathan Buzzard
On 28/12/2019 19:49, Marc A Kaplan wrote: > The script in mmfs/bin/mmxargs handles mmapplypolicy EXTERNAL LIST file > lists perfectly. No need to worry about whitespaces and so forth. > Give it a look-see and a try > Indeed, but I get the feeling from the original post that you will need to

Re: [gpfsug-discuss] Question about Policies - using mmapplypolicy/EXTERNAL LIST/mmxargs

2019-12-28 Thread Marc A Kaplan
The script in mmfs/bin/mmxargs handles mmapplypolicy EXTERNAL LIST file lists perfectly. No need to worry about whitespaces and so forth. Give it a look-see and a try -- marc of GPFS - From: Jonathan Buzzard To: "gpfsug-discuss@spectrumscale.org" Date: 12/28/2019 10:17