Notes by woolf

Displaying keyword search results 1 - 5
Created by woolf on April 12, 2011 09:20:08    Last update: April 12, 2011 09:20:08
First try (this lists files by directory, including directories themselves): ls -R -lrt Second try: find . -type f | xargs ls -lrt
Created by woolf on February 10, 2011 13:29:31    Last update: February 10, 2011 13:31:37
This command script redirects all stdout and stderr to a file with current date and time. @echo off @rem Send STDOUT/STDERR to file with ...
Created by woolf on February 10, 2011 13:25:20    Last update: February 10, 2011 13:25:20
If Command Extensions are enabled (which is enabled by default), then there are several dynamic environment variables that can be expanded but which don't show up in the list of variables displayed by SET . These variable values are computed dynamically each time the value of the variable is expanded (but see example below). If the user explicitly defines a variable with one of these names, then that definition will override the dynamic one described below: %CD% - expands to the current directory string. %DATE% - expands to current date using same format as DATE command. %TIME% - expands to current time using same format as TIME command. %RANDOM% - expands to a random decimal number between 0 and 32767. %ERRORLEVEL% - expands to the...
Created by woolf on February 03, 2010 04:39:18    Last update: February 03, 2010 04:39:18
Ways to use JavaScript date function: // current time new Date(); new Date(0);...
Created by woolf on January 15, 2010 05:00:14    Last update: January 15, 2010 05:03:49
Video taken with the Canon SD1200 camera comes in the AVI format, where the video is MJPEG and the audio is PCM. For some weird reason it doesn't play on my Windows XP box! The video is sluggish and the audio is often interrupted. But it works fine on my old Windows 2000 box. Since it's taking too much space anyway, I used mencoder to compress the video with XVID encoding and audio with MP3. This is the script. #!/usr/bin/perl $destdir = "C:/Documents and Se... Tools used: Mencoder: http://www.mplayerhq.hu/ Mediainfo: http://mediainfo.sourceforge.net