My Script is fine for that. Change only the first to lines:
$sourceDirectory = "C:\tt\documents\"
$destinationDirectory = "D:\tt\documents\"
Save that file somewhere on c drive, like C:\where\filesync_dates.ps1
Then you need to normally set the freefilesync up betrween the 2 folders, and then you ...
Search found 4 matches
- 20 Oct 2024, 17:55
- Forum: General Discussion
- Topic: [FIX] How to preserve file and folder TIMESTAMPS!
- Replies: 25
- Views: 4623
- 06 Sep 2024, 08:12
- Forum: General Discussion
- Topic: [FIX] How to preserve file and folder TIMESTAMPS!
- Replies: 25
- Views: 4623
Re: [FIX] How to preserve file and folder TIMESTAMPS!
But to update my script, to also modify the folders:
$sourceDirectory = "B:\wuk_daten\"
$destinationDirectory = "A:\wuk_daten\"
# Funktion zum Synchronisieren der Zeitstempel und Attribute
function Sync-ItemProperties($sourceItem, $destinationItem) {
$updateRequired = $false
if ...
$sourceDirectory = "B:\wuk_daten\"
$destinationDirectory = "A:\wuk_daten\"
# Funktion zum Synchronisieren der Zeitstempel und Attribute
function Sync-ItemProperties($sourceItem, $destinationItem) {
$updateRequired = $false
if ...
- 06 Sep 2024, 08:09
- Forum: General Discussion
- Topic: [FIX] How to preserve file and folder TIMESTAMPS!
- Replies: 25
- Views: 4623
Re: [FIX] How to preserve file and folder TIMESTAMPS!
My script which I posted, you can attach at the free file sync application. Yes, that checks all dates of the files and applies them on the other side. Did work well for me. Luckly the official provider of my cloud did fix there app with many files and its now working. So I dont use freefilesync ...
- 23 May 2023, 08:33
- Forum: General Discussion
- Topic: [FIX] How to preserve file and folder TIMESTAMPS!
- Replies: 25
- Views: 4623
Re: [FIX] How to preserve file and folder TIMESTAMPS!
Robocopy cannot copy Timestamps without Data.
I had the following issue.
A is a Local Drive by me.
B is a webdav Drive which dosnt support Timestamps settings.
After FileSync does its job, by the next run, it can see many "new" files on the B: (WebDav) as the datetimes was not set correctly. I ...
I had the following issue.
A is a Local Drive by me.
B is a webdav Drive which dosnt support Timestamps settings.
After FileSync does its job, by the next run, it can see many "new" files on the B: (WebDav) as the datetimes was not set correctly. I ...