Jul 31
Continuing on the related post
http://knowledgeexplosion.info/2008/07/solved-binrm-argument-list-too-long/
if you want to copy the files, you have to use different syntax. In my case I wanted to copy bulk of mp3 files:
find /share/media/mp3/ -type f -name "*.mp3" -print0 | xargs -0 -r
-I file cp -v -p file --target-directory=/bakup/iscsi/mp3
July 31st, 2010 in
Linux,
Systems |
No Comments |
3,019 views
Jun 06
Man I had crazy time with getting eclipse function keys working in Snow Leopard. That was a kind of nightmare. Specially I’m used to eclipse short cuts like F5, F6, F8. Here is the trick –
Read the rest of this entry »
June 6th, 2010 in
Eclipse,
Mac OS |
No Comments |
6,190 views
Jun 05
Just wanted to post very basic shell scripting essentials:
Basic Shell Scripting Concepts:
Arithmetic Evaluation (op refers to Operation):
let answer=var1 OP var2; echo $answer;
echo `expr var1 OP var2`
For … loop:
for file in x
do
{body}
done
[x can be numbers, letters, paths etc]
Read the rest of this entry »
June 5th, 2010 in
BASH,
Linux,
Mac OS |
No Comments |
2,151 views
Jun 05
Just feels that it’s been longgg….. Trying to get back to writing some geeky stuff again 🙂
June 5th, 2010 in
Other |
No Comments |
1,602 views
Mar 19
I normally like to see Author, Last modified date information for the projects synchronized with the subversion. Here is the trick to enable this tags for Subversive SVN client in eclipse.
Eclipse –> Properties –> Team –> SVN –> Label Decorations –> Text Decorations –> File –> [Select the necessary options]
March 19th, 2010 in
Eclipse,
Subversion |
No Comments |
3,524 views
Dec 15
I’ve western digital external usb hard drive. Unfortunately Mac OS X doesn’t support writing to NTFS formatted partition due to some legal issues; Although I was surprised by that. But luckily there are opernsource tools available which can be used (at your own risk ;)) to enable NTFS read-write support. By default it supports writing to FAT/FAT32 partition.
Read the rest of this entry »
December 15th, 2009 in
Free Services,
Mac OS |
No Comments |
2,092 views
Dec 14
Just found out that Google has enabled real time search results.
See the attached image:
Google Real Time Search Results Example
December 14th, 2009 in
Other,
Random Picks.. |
No Comments |
2,049 views
Dec 04
Turning off that irritating system beep:
Somehow I hate that default system beep on different operating systems, here are quick commands to turn that off
Windows:
net stop beep (in command line)
Linux, Mac OS X:
xset b off (terminal)
December 4th, 2009 in
Linux,
Mac OS,
Systems,
Windows |
No Comments |
5,213 views
Nov 21
javac: invalid target release: 1.6 :
Recently I ran into this while compiling some stuff through Maven. My development environment is Mac OS X(10.5), Eclipse (3.5), Maven (2.0.9), Java (1.6)
I tried some suggestions through Google but they didn’t help me. Finally resolved the isse. Follow this steps:
- Check if JAVA_HOME is set
- Check if PATH is set & it’s pointing to same Java version
- Now another important thing – Run mvn –version, check if the Java version matches.
(Mac Users)If do this:
Check your CurrentJDK path defined under "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK".
That is most likely the culprit. Maven script uses this symlink value.
You are hopefully done 🙂
November 21st, 2009 in
Uncategorized |
3 Comments |
19,188 views
Nov 14
[javac] class file has wrong version 50.0, should be 49.0
Somehow on my Mac (10.5) I ran into this issue with Eclipse (3.5) and Nutch (1.0). It seems this was causing because of the incompatible version of Java Compiler.
Solution: Check your project settings & make sure your Java compiler version & installed JRE are pointing to the correct version. By default it points to JRE 1.5. After you update these references everything should work like a charm 🙂
~Ruituraj
November 14th, 2009 in
Uncategorized |
No Comments |
4,620 views