Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Backup only .git dirs inside other dirs

23 Jul 2015   #1
scu

Windows 7 Home
 
 
Backup only .git dirs inside other dirs

On one drive I have many directories each containing other files and directories. Some of the directories have inside also a .git dir. I want to backup the full structure of directories to the .git dirs with only the contents of the .git dirs being backedup.

Do you know any backup software that can do that?

Example:

+--Dir1
+--Dir2+--.git---GitFilesAndDirectories2
| +--OtherDir2.1
| +--otherFiles2
|
+--Dir3+--.git---GitFilesAndDirectories3
+--OtherDir3.1+--.git---GitFilesAndDirectories3.1
| +--OtherDirsAndFiles
|
+--OtherDir3.2---OtherDirsAndFiles4
+--OtherFiles3

I want to endup with this final backup structure and the rest to be ignored

+--Dir2---.git---GitFilesAndDirectories2
|
+--Dir3---.git---GitFilesAndDirectories3
+--OtherDir3.1---.git---GitFilesAndDirectories3.1


My System SpecsSystem Spec
.
26 Jul 2015   #2
LittleSomething

Windows 8.1 x64
 
 

I used easeus todo backup, it allows you to select only those you want to backup. I think macrium reflect, which many people used in this forum, can do the same job. You may download them to have a try, both of them have free version.
My System SpecsSystem Spec
27 Jul 2015   #3
scu

Windows 7 Home
 
 

I was hoping for something more automatic but selecting the directories manually. However I found in the features that macrium can apply directories filters. I'll give it a go and see what's what and give a feedback. Thanks
My System SpecsSystem Spec
.

Reply

 Backup only .git dirs inside other dirs




Thread Tools




Similar help and support threads
Thread Forum
I Have Two 'My Videos' Dirs in the same root Dir and Can't rename.
I copied my 'my videos' dir from C: onto an expansion drive: E: Now I find that expansion drive already had a 'my videos' dir on it because at one time it was a system drive. and the system somehow has allowed a second dir of that name to be created on the drive. I didn't think that was...
General Discussion
How to get subst'ed dirs to work on net mapped drives
I want to get directory junctions on machine Xp to follow a subst on Xp when seen from machine Y7. Machine Xp is an XP machine; machine Y7 is a win 7 machine. On machine Xp I have a drive I: and the following directory on drive I:I:\subst\J On machine Xp I have runsubst J: I:\subst\J I have...
Network & Sharing
Windows Explorer Crashes when opening Pictures, Downloads, Videos dirs
I've looked at other similar cases--disabling thumbnails does not fix the problem. System restore didn't work, nor did clean boot. I've got a .dmp file but it's around 100mb in a zip file, so on google drive: https://drive.google.com/open?id=0B7sc20AcMLAYM01TdFM3dnIta0E Thanks for any help!
Performance & Maintenance
Batch xfer drive dirs-->DVD
I've got lots more than 1 DVD of tunes on my drive that I wish to share with a friend who does not yet have his own machine. I'd like to burn the tunes to the necessary several DVD's for his later use. Although uploading same to my skydrive account and allowing him access to my credentials (which I...
Music, Pictures & Video
Looking for something that does this (inside)
Hey guys... I am looking for some means to automatically create shortcuts to every .exe (it would be a plus to be able to choose the extension) that exists in a folder and it's subfolders. Placing all of them in a folder of my choosing would be nice. Thanks.
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:24.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App