A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 7 » Windows 7 Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

sync command for windows?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old December 9th 16, 07:54 PM posted to alt.windows7.general
T
external usenet poster
 
Posts: 4,600
Default sync command for windows?

Hi All,

Linux has a command called "sync"

sync - flush file system buffers
Force changed blocks to disk, update the super block.

I like to call it before and after doing back ups.

Is there an equivalent Windows command for this?

Many thanks,
-T
Ads
  #2  
Old December 9th 16, 08:45 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default sync command for windows?

T on 2016/12/09 wrote:

Linux has a command called "sync"

sync - flush file system buffers
Force changed blocks to disk, update the super block.

I like to call it before and after doing back ups.
Is there an equivalent Windows command for this?


SysInternals' sync program.

Probably uses the FlushFileBuffers function (after enumerating the open
handles on files) noted at:

https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx
  #3  
Old December 9th 16, 08:53 PM posted to alt.windows7.general
T
external usenet poster
 
Posts: 4,600
Default sync command for windows?

On 12/09/2016 12:45 PM, VanguardLH wrote:
T on 2016/12/09 wrote:

Linux has a command called "sync"

sync - flush file system buffers
Force changed blocks to disk, update the super block.

I like to call it before and after doing back ups.
Is there an equivalent Windows command for this?


SysInternals' sync program.

Probably uses the FlushFileBuffers function (after enumerating the open
handles on files) noted at:

https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx


Hi Vanguard,

Perfect! Thank you!

Sync:
https://technet.microsoft.com/en-us/...rnals/bb897438

I will probably be incorporating this in all my pre and post
scripts for Cobian Backup.

-T
  #4  
Old December 10th 16, 11:53 AM posted to alt.windows7.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default sync command for windows?

In message , T writes:
On 12/09/2016 12:45 PM, VanguardLH wrote:
T on 2016/12/09 wrote:

Linux has a command called "sync"

sync - flush file system buffers
Force changed blocks to disk, update the super block.

I like to call it before and after doing back ups.
Is there an equivalent Windows command for this?


SysInternals' sync program.

Probably uses the FlushFileBuffers function (after enumerating the open
handles on files) noted at:


https://msdn.microsoft.com/en-us/lib.../aa364451(v=vs.
85).aspx


Hi Vanguard,

Perfect! Thank you!

Sync:
https://technet.microsoft.com/en-us/...rnals/bb897438

I will probably be incorporating this in all my pre and post
scripts for Cobian Backup.

-T


Probably not what you're after, but I also find their SyncToy useful:
https://www.microsoft.com/en-gb/down....aspx?id=15155 (scroll
down - that page has a little advert at the top today).
--
J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

The squeamish will squeam a lot.
(Barry Norman on the film "300", in Radio Times 30 March-5 April 2013.)
  #5  
Old December 11th 16, 07:40 PM posted to alt.windows7.general
T
external usenet poster
 
Posts: 4,600
Default sync command for windows?

On 12/10/2016 03:53 AM, J. P. Gilliver (John) wrote:
In message , T writes:
On 12/09/2016 12:45 PM, VanguardLH wrote:
T on 2016/12/09 wrote:

Linux has a command called "sync"

sync - flush file system buffers
Force changed blocks to disk, update the super block.

I like to call it before and after doing back ups.
Is there an equivalent Windows command for this?

SysInternals' sync program.

Probably uses the FlushFileBuffers function (after enumerating the open
handles on files) noted at:


https://msdn.microsoft.com/en-us/lib.../aa364451(v=vs.
85).aspx


Hi Vanguard,

Perfect! Thank you!

Sync:
https://technet.microsoft.com/en-us/...rnals/bb897438

I will probably be incorporating this in all my pre and post
scripts for Cobian Backup.

-T


Probably not what you're after, but I also find their SyncToy useful:
https://www.microsoft.com/en-gb/down....aspx?id=15155 (scroll
down - that page has a little advert at the top today).


Hi J.P.,

The word "sync" means a lot of things. I am after
"flush[ing] file system buffers"

But thank you anyway, I am always look for file sync
programs that actually work right. Rsync is easy to
use under Linux, but cumbersome under Windows. I
have started using Cobain Backup for sync'ing files
a lot. But ...

-T

 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 12:55 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.