Dear all,
I have script which copy the file from SMR to some txt file [1].
However for one case with directory having more than 1000 files, it is giving the following error [2].
Google is not providing any sensible help..
Greetings,
emily
[1]
#!/bin/bash
#usage ./copyTextFromCastor.sh $PATH $GREP $OUTPUTFILE
PATHNAME=$1
CONSTANT=rfio:
GREP=$2
OUTPUT=$3
echo "Copying fileName \"$1 | grep $2\" to $3"
srmls "$PATHNAME" | grep "$2" | awk -F'tier2' '{print string path $2}' string="" path="" > "$3"
echo "progressing ... please be patient..."
[2]
----------------------------------
Picked up _JAVA_OPTIONS: -Xmx256M
Wed Mar 04 16:36:41 CET 2015: Return status:
- Status code: SRM_TOO_MANY_RESULTS
- Explanation: max results number of 1000 exceeded.
Try to narrow down with count and use offset to get complete listing
---------- Post updated 5th Mar 2015 at 07:41 AM ---------- Previous update was 4th Mar 2015 at 10:46 AM ----------
this is resolved..