• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:21
CEST 00:21
KST 07:21
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed14Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Who will win EWC 2025? The GOAT ranking of GOAT rankings Server Blocker Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Soulkey Muta Micro Map? [ASL19] Finals Recap: Standing Tall
Tourneys
Starcraft Superstars Winner/Replays [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread We are Ready to Testify: Emergence Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! Korean Music Discussion [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 626 users

Guide: "Moving" replay directory. - Page 2

Forum Index > SC2 General
Post a Reply
Prev 1 2 All
prayanavita
Profile Blog Joined July 2008
Hong Kong86 Posts
January 29 2011 13:39 GMT
#21
On January 29 2011 08:08 Krissam wrote:
Show nested quote +
On January 29 2011 07:46 prayanavita wrote:
On January 27 2011 01:28 Krissam wrote:
On January 26 2011 16:27 Yarhj wrote:
If you don't like symlinks for whatever reason, you can always just set up an automated task to copy any new replays from the sc2 directories into your dropbox. You'll have to be content with your dropbox being slightly out of sync with your actual replay directory, but that's never been an issue for me.

Directions:
1. Create a file called "copyReplays.bat"
2. Open it with your favorite text editor. If you want to be a baller use a hex editor and type in the ascii codes manually. Or not. Whatever.
3. Use xcopy to sync any new replays to your dropbox. Here's the syntax:
xcopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "E:\Data\My Dropbox\Starcraft\whatever_the_hell_you_want" /s /y /q /d


Xcopy info:
+ Show Spoiler +
xcopy is a windows/dos copy command with some extra functionality. In this case we're telling it to copy directories and subdirectories (/s), to not bother us with prompts asking us if we're sure (/y), to not tell us the name of EVERY file we're copying (/q), and to only copy files if they have a newer timestamp than their counterpart in the destination directory (/d).


4. Schedule a task to automatically execute this at some point in the day. Directions for Windows 7 below:
+ Show Spoiler +
Control Panel > System and Security > Administrative Tools > Schedule Tasks

Within the task scheduler, you then do:
Actions > Create Task
Give it a name, a description, and under the Actions tab select "New," tell it to "Start a Program," and give it the address of your copyReplays.bat file from step 1.

Under Triggers select "New" and tell it to run daily.

Under Conditions make sure you don't have "Wake the computer to run this task" selected, unless you like your computer surging to life in the middle of the night and freaking you out.

Suggestion: Set the task to run at some time you'll probably be asleep, like 4am, but go to Settings and tell it to run the task as soon as possible after a scheduled start is missed. Now the first time you turn your computer on, your replays will be automatically synced.



So there you have it -- replay syncing for people who hate symlinks.



I thought about this as well, I did however not like it due to the fact it's only a one way sync.



You can setup a two-way sync using robocopy by running the following two commands:


start "Copy from SC2 folder" /MIN robocopy "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" "e:\replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1
start "Copy to SC2 folder" /MIN robocopy "e:\replays" "C:\Users\your_user_name\Documents\StarCraft II\Accounts\your_nonsensical_sc2_number\your_other_nonsensical_sc2_number\Replays" /COPY:DAT /E /ZB /R:1 /W:2 /XO /MON:1 /MOT:1


This will open two minimized windows which synchronize every new file that's added to either of the folders. Synchronization happens every minute and using this method it will be running as a minimized command prompt which outputs the changes it makes.

Robocopy is a cp[y tool available in both Vista and Windows 7 and can be downloaded for Windows XP.


Well, looks good, but i still believe "my" method is better for 3 reasons:
1: files are only stored 1 place
2: it doesn't open windows
3: its instantanious

edit: posted before i was done typing, damn phone


Oh yes, I definitively agree with you. Your method is by far the most elegant solution for the problem. Mine was just an evolution of the xcopy method posted, as it was noted that it was one-way synchronization. Just added it in case it would help someone out.
Prev 1 2 All
Please log in or register to reply.
Live Events Refresh
Next event in 11h 39m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub321
Nathanias 161
UpATreeSC 138
JuggernautJason59
ForJumy 45
CosmosSc2 32
StarCraft: Brood War
Larva 1034
scan(afreeca) 172
ZZZero.O 133
Aegong 104
Dota 2
NeuroSwarm122
monkeys_forever76
League of Legends
Grubby4968
Counter-Strike
fl0m677
Stewie2K643
flusha476
byalli335
oskar254
Super Smash Bros
Liquid`Ken45
Heroes of the Storm
Liquid`Hasu483
Other Games
tarik_tv18468
summit1g8936
shahzam440
C9.Mang0192
Skadoodle124
ViBE107
Trikslyr47
PPMD36
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• sitaska38
• musti20045 26
• RyuSc2 10
• davetesta1
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• HerbMon 22
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota23065
• Ler83
League of Legends
• TFBlade912
Other Games
• imaqtpie2188
Upcoming Events
CranKy Ducklings
11h 39m
Epic.LAN
13h 39m
CSO Contender
18h 39m
Sparkling Tuna Cup
1d 11h
Online Event
1d 17h
Esports World Cup
3 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
4 days
Esports World Cup
5 days
Esports World Cup
6 days
Liquipedia Results

Completed

JPL Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.