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

Re: How to remove the checkedout files from the local drive

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Fri, 16 Apr 2010 10:44:08 +0100

On 16 April 2010 09:49, Kovacs Janos <akkred_at_freemail.hu> wrote:
> Hi,
>
> I am working on an enviroment which is able to checkout files from the repository to a local drive, execute the downloaded applications and then removes the files from the local disk.
>
> I use sliksvn to execute the checkout in a command line. Is there any way to remove all the checkedout files from the local folder just by a command?
>
> Deleting the whole folder is tempting but unfortunately not an option since I have to download the files to a folder which already contains files (these files are station specific and can not be uploaded to the repo) :(

I don't think this has anything to do with TortoiseSVN, but anyway ...

Why not create a subdir, copy the station specific files into it, then
export the versioned files into the same directory. Then you can just
delete the whole directory.

Or if you do a checkout, how about svn delete * and then delete the
.svn directory. Assuming everything is in one directory with no
subdirs.

Otherwise you will have to write a script to delete the files one at a
time if they don't match X Y or Z station config files.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2584953
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-04-16 11:44:10 CEST

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

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