Home #1 Free Software What is the fastest way to align filestamp dates on Server-Client files on 24GB of stuff? ...
What is the fastest way to align filestamp dates on Server-Client files on 24GB of stuff? ... PDF Print E-mail
Written by Administrator   
Monday, 13 December 2010 13:57

(Click to browse FTLinuxCourse 2004 ... still valid ...)

 

Greetings,

    FTLinuxCourse was self-nominated "Best Linux Training ever made" ... and the product was also a Penguin Finalist in 1999.

    Suppose that your client is MS Windows ... (temporarily ... don't hack my server yet) and the Server is Linux (Fedora 11).

    Suppose that you are aligning 23.9 GB of Video ... like our BBC Shakespeare Plays

BBC_SHAKESPEARE_COLLECTION

    The question is ... how we can align dates between Client-Server of all this stuff? ... 29.4 GB ? ...

    This question indirectly leads to another question: How we can change file dates (file timestamps) ? ...

     The Linux command is "touch" ... we can assign a new date and a new time to a specific file.

     However ... browsing over than 30 directories ... and look for client-server dates is not immediate.

     We can run the command, "touch -t STAMP where STAMP is [[CC]YY]MMDDhhmm[.ss] ... but this is not the "Best" or "Fastest" Choice.

     "touch" also supports the "reference" option!

     Therefore we can assign the filestamp to be equal to the filestamp of another.

     Example,

touch --reference=nospin.gif mysearch.html

     This command assign the filestamp of file "nosping.gif" ... to the file "mysearch.html".

     Therefore, using this "trick" we can change ... locally and remotely the filestamps!

      There are a file in each directory that may be used for that purpose. This file is

[TXT] BBC SHAKESPEARE COLLECTION - NOTES.txt 04-Apr-2009 11:14 2.9K  

        Now we can copy to the Client ... using WinSCP ... or to the Server that file and run the command,

touch --reference=BBC SHAKESPEARE COLLECTION - NOTES.txt 06) CYMBELINE_BBC SHAKESPEARE COLLECTION.wmv

       This command will assign the filestamp of BBC SHAKESPEARE COLLECTION - NOTES.txt to the Video file,

CYMBELINE_BBC SHAKESPEARE COLLECTION.wmv

       How we can assign the same filestamp on the MS Windows Client?

       We need to download the CyGWin http://www.cygwin.com/ ... that will offer the same UNIX/Linux qualities to your MS Windows machine.

       Then, we will run the same command,

touch --reference=BBC SHAKESPEARE COLLECTION - NOTES.txt 06) CYMBELINE_BBC SHAKESPEARE COLLECTION.wmv

       on your Windows Box ... with the same result.

       Then, with WinSPC we will get (message is in Italian ...) ... "No Differences Found"

      ... You can browse 1040 Linux commands available on our Free edition of FTLinuxCourse,

http://www.ftlinuxcourse.com/FTLinuxCourse_Complete-2004/FTLinuxCourse/en/base/appendix_a.html

     Is better to access Appendix A, from the BASE Course ...

http://www.ftlinuxcourse.com/FTLinuxCourse_Complete-2004/FTLinuxCourse/en/

Thanks,

Giovanni A. Orlando.

PS. The idea is to avoid to copy a Video File which is 0.6 Gb ... and will take about 4 hours to be uploaded.

PPS. Editorial for Linux programmers: "Take your ego, put in a Bottle ... and forget it!" ... The Ego ... is your Big problem. You are creators ... but you need to create with No Ego ... If you have Ego your creations will be very temporarily ... Thanks!

Данильченко Харьковкак красиво накрасить ресницы тушьюзубыэкскурсии в доминикане ценыпва пакетыкакой самый мощный ноутбукотправить смс на номер билайнпроверка тицкосметичка купитьульяновск двери луидор
Last Updated on Monday, 13 December 2010 14:46