[p4] p4 dirs -C with wildcards

Rick Macdonald rickmacd at shaw.ca
Mon Oct 26 09:21:58 PDT 2009


Does this work?

p4 dirs -C //%%1/data/*

Rick

Schlueter, Michael wrote:
> Hi all,
> I have a problem using the p4 dirs command together with wildcards.
> Our Perforce server contains several depots and each depot has on its first level among other a specific folder 'data'
> //depot1/data/...
> //depot2/data/...
> //depot3/data/...
>
> I want to get a list of all subdirectories within the 'data' folders.
> P4 dirs //*/data/* works perfectly.
> However if I restrict the search to the workspace using the '-C' option the command returns "//*/data/* - no such file(s)."
> If I use "p4 dirs -C //depot1/data/*" I get a list of the subdirs of the first depot, so it is definitely in the workspace view.
> Has anyone seen this before? 
> Any ideas how to get arround this are welcome.
>
> Regards
> Michael
>
>
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>   



More information about the perforce-user mailing list