Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-01-2004, 11:00 PM   #1
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Question Problems with datestamps while moving folders...

Mmkay... Fast explanation:
Reason : I got 250Gb extra HDD in my box, so I've decided to move movies from smaller HDD to that new HDD and games from anotner small HDD to HDD where movies were...

Problem : After moving all folders from one HDD to another HDD, datestamp is the same for all folders. Thus killing whole purpose of Wipe script (WarChive) as all folders have same date now.


More detailed explanaion :
Datestamp consist of 3 stamps - created, modified and last accessed. When moving folders to new hdd, all folders have same datestamp (and yes, same date for created, modified and last accessed). So when u next time run Wipe utility, it will just delete folders from A to Z cause all of them have same datestamp.

Interesting detail is, that files inside moved folders do have one of the datestamps (modified) right. But not the folders that those files are located inside of...

I have tried over 7 different programms that works with datestamp, even some sync-related proggies, after now 3 days I'm desperate...

I'm not a coder, nor a (i)TCL scripter, but I thought of some solution that will:
1) Check date of the moved folder
2) Write it to some variable
3) Move folder to new HDD
4) Read variable
5) Touch folder so the modified datestamp will be same as before moving...

I've talked to darkone about this problem some days ago and he said that it is possible to do even in TCL with "vfs flush"...

Quote:
[ dark0n3 ] it's easier to just notify io through shared memory.. or via itcl
[ dark0n3 ] you could ie. create simple script that flushes cache zor all directories recursively
[ dark0n3 ] (in archive)
Prolly d1 will look into it (as we've talked about it in PM) or prolly someone else have an idea how to fix my little problem...
I will apreciatte any help on given subject. Thank you.
wooolF[RM] is offline   Reply With Quote
Old 01-02-2004, 01:34 PM   #2
fridge66
Junior Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 7
Default

I have also had this problem. When moving stuff around, Winblows mod's the dates.

I got around this myself by using WinRAR. Use no compression and add all the files you want to move to an archive.

Then when you decompress, WinRAR will use the same dates/times as the previous dirs.

I had a huge dox archive, and this was the only way I could get this to work right. Otherwise, all folders get the time/date they are moved.

Hope this helps...

-fridge66
fridge66 is offline   Reply With Quote
Old 01-02-2004, 01:39 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

O.O
I think I'll have lots of fun raring/moving/extracting 200Gb of movies and then games... geeez...

Thanks for the tip, I'll give it a try
wooolF[RM] is offline   Reply With Quote
Old 01-02-2004, 05:17 PM   #4
fridge66
Junior Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 7
Default

Quote:
Originally posted by wooolF[RM]
O.O
I think I'll have lots of fun raring/moving/extracting 200Gb of movies and then games... geeez...

Thanks for the tip, I'll give it a try
I never said it was fun! Its a crude but effective method.

-SP66
fridge66 is offline   Reply With Quote
Old 01-02-2004, 07:28 PM   #5
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

hrmpf... I've tried to archive 2 folders with latest WinRAR 3-4 different way and tried to unpack it 3-4 diferent ways... and still when I unpack, moved folders have today date's datestamp

could u by any chance paste your settings or maybe make some screenshots?

Best regards
wooolF[RM] is offline   Reply With Quote
Old 01-03-2004, 07:49 PM   #6
JoeBAR
Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 42
Default

Quote:
Originally posted by wooolF[RM]
hrmpf... I've tried to archive 2 folders with latest WinRAR 3-4 different way and tried to unpack it 3-4 diferent ways... and still when I unpack, moved folders have today date's datestamp

could u by any chance paste your settings or maybe make some screenshots?

Best regards
rar x -tk blah.rar from command prompt ...

in pkzip v6.0, it's
pkzipc -extract -time=all blah.zip

Hope it helps...
JoeBAR is offline   Reply With Quote
Old 01-03-2004, 08:34 PM   #7
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

Quote:
Originally posted by JoeBAR
rar x -tk blah.rar from command prompt ...
didn't worked...
second one worked, not from command prompt tho'... but from GUI... >_<

thnx for the tip... will take me some time to fix all that moving >_<
wooolF[RM] is offline   Reply With Quote
Reply

Tags
date, datestamp, folders, hdd, modified

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

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

Forum Jump


All times are GMT -5. The time now is 03:46 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)