<div dir="ltr"><div><br></div>Anyone have good rsync foo? I have a directory, /data, with a bunch of subs in it. The names of the subs start with a letter ( upper or lower ) or a number:<div><br></div><div>12512</div><div>11001</div><div>19262</div><div>JA215</div><div>JTFAZ</div><div>IC001</div><div><br></div><div>( Etc ). </div><div><br></div><div>In these directories are a bunch of files and directories. I want to get ONLY the directories starting with numbers and then some of the files ( files which contain "get-me", "dontignore" ).<br clear="all"><div><br></div><div>I currently have a long list of:</div><div><br></div><div> --exclude="J*/" --exclude="I*/" --include="*/" --include="*get-me*" --include="*dontignore*" --exclude="*"</div><div><br></div><div>Anyone have a better setup? I tried:</div><div><br></div><div>--exclude="[[:alpha:]]*/" --include="[[:digit:]]*/" --include="*get-me*" --include="*dontignore*" --exclude="*"</div><div><br></div><div>but rsync doesn't seem to like this marking.</div><div><br></div><div>Robert</div><div><br></div><div><br></div>-- <br>:wq!<br>---------------------------------------------------------------------------<br>Robert L. Harris<br><br>DISCLAIMER:<br> These are MY OPINIONS With Dreams To Be A King,<br> ALONE. I speak for First One Should Be A Man<br> no-one else. - Manowar
</div></div>