Moving files to new folders by keeping version history

15 views
Skip to first unread message

s.aravi...@gmail.com

unread,
Nov 19, 2018, 8:35:57 PM11/19/18
to TortoiseSVN-dev
Hi Team,

We have the requirement that, we need to move all the files from existing folders to new folder structure.

currently we have many folders where files with different extensions are stored. like in each folder we.sql, .aspx,.rar. all extension files.

so now I am want loop through each folder and look for file extension. if the file extension is .sql then I need to create one folder at the root level called SQL and move all the .sql files from different folders into the new folders and same applies to all other extension files.

I need to keep all the version history intact after moving as well.

Is there a way to automate this through custom script? if not what is the best way to implement this with less manual work.

Thanks,
Aravind

Stefan

unread,
Nov 20, 2018, 2:10:50 PM11/20/18
to TortoiseSVN-dev
try the command line client:

$ mkdir SQL
$ svn mv *.sql SQL

Aravinda Sunkugari

unread,
Nov 20, 2018, 7:57:14 PM11/20/18
to TortoiseSVN-dev on behalf of Stefan
Could you please explain little detail.

I am very new to SVN

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn-dev/_W-g9wutQuY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/5dbcb387-abbc-482c-bbdb-b2d3e46cc8b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages