Re: Want to sell my Dell
- From: Ron Hardin <rhhardin@xxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 10:00:00 GMT
Ben Myers wrote:
Cygwin is also a useful add-on for Windows because it allows you to run some
software developed originally for Linux. My favorite is Easy_Burning, simple
Windows menu that drives the CD/DVD burning software built into Linux.
It gives you all the regular unix commands, without even considering what apps
there might be.
You can manage your XP files on eg. drive C at /cygdrive/c/ , the only drawback
being that you have to escape \ any blanks in paths that the shell sees.
rm, for example, removes a file without putting it in the trash bin
If you have a machine on a LAN with name I1200 sharing a directory Myfiles,
then it appears on another machine at //I1200/Myfiles
You can use
cd //I1200/Myfiles
find . -type f -print | cpio -pdm /home/me/Myfiles
to copy over all files there that are newer than ones in the local directory
/home/me/Myfiles , with the original creation time kept on the copies.
Want to change all the file permissions on say .exe files so that they can be
executed?
find . -name '*.exe' -print | xargs chmod 755
Want to change the creation time of all your new photos to the time that the
camera stamped on them (rather than the date when you copied them onto
the HD)?
for i in `ls -t *.jpg`; do
X=`strings $i|grep '^200.:..:.. ..:..:..'|sed 1q`
Y=`echo $X|sed '/:\(..\)$/s//.\1/'|sed '/[: ]/s///g'`
if test -z "$Y"; then continue; fi
ls -l $i > temp1.picdate
echo touch -t $Y $i
touch -t $Y $i
ls -l $i > temp2.picdate
if diff temp1.picdate temp2.picdate|grep .; then :; else break; fi
done
(an elaborate-looking script that actually can be composed straight ahead
once you get the hang of life on a unix system; the script changes the
newest photos first, and stops when it gets to one with the correct
time already)
and millions of other ordinary unix-like daily life commands that XP users are
denied without special apps to do it.
To say there's a linux app that cygwin gives you underestimates seriously
what cygwin is there for.
--
Ron Hardin
rhhardin@xxxxxxxxxxxxxx
On the internet, nobody knows you're a jerk.
.
- Follow-Ups:
- Re: Want to sell my Dell
- From: Ben Myers
- Re: Want to sell my Dell
- References:
- Want to sell my Dell
- From: Anthony M
- Re: Want to sell my Dell
- From: Journey
- Re: Want to sell my Dell
- From: Ron Hardin
- Re: Want to sell my Dell
- From: Journey
- Re: Want to sell my Dell
- From: Ron Hardin
- Re: Want to sell my Dell
- From: Journey
- Re: Want to sell my Dell
- From: Ben Myers
- Want to sell my Dell
- Prev by Date: Re: Insiron 9400 w/Win XP
- Next by Date: Re: Would this make a noticiable difference?
- Previous by thread: Re: Want to sell my Dell
- Next by thread: Re: Want to sell my Dell
- Index(es):
Relevant Pages
|