Monday, October 17, 2016

copy list of files to a directory

copy a list of files mentioned in a text file into a directory.

cat /tmp/test.txt  | xargs -I %  cp % /tmp/to_copy/

test.txt contains list of files to be copied.
/tmp/to_copy/ is the destination folder

Tuesday, September 27, 2016

yahoo mail retreival from gmail

I have configured yahoo mail retrieval into gmail account via POP settings.
But started facing this error in gmail:
Getting error, Server denied POP3 access for the given username and password. POP access is limited to Yahoo Mail Plus subscribers.?

Although I tried configuring it again, yahoo login fails inside gmail.

Figured out, you need to enable "Allow apps that use less secure sign-in" 
in yahoo security settings.

Then you can configure yahoo account from inside gmail. J :)

Monday, September 26, 2016

Control Android mobile from PC

Just stumbled across this app: airdroid

You can control just about anything in your Mobile from PC.

Install app from play store.

Then, visit this url in your PC:
then, scan the QR code using "airdroid" app(from mobile)..thats it.

Now you can control your mobile from your pc).

Possible to:
Download/Upload of files, Controlling camera, uninstall of app, images view, etc.,