[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to checkout only the tree structure of a repository

From: Ed Price <ed.price_at_gmail.com>
Date: 2006-10-19 22:12:47 CEST

(Resend, please keep on list!)

> It almost worked. It splitted the name of the directory into some directory
> several names and creates a directory to each of these parts. Maybe because
> mkdir command needs "" character to understand as a unique directory name.
> Do you know how to change you suggestion to accomplish it? I've tried the
> following but it doesnt work: svn ls -R $URL | grep '/$' | "xargs" mkdir

Drat, foiled by spaces in filenames!

Reading xargs man page...... How about this:

svn ls -R $URL | grep '/$' | xargs -d \\n mkdir

-Ed

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 19 22:13:36 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.