Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DarkKrai
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 25
Join Date: May 2010
Default ADB Push Nautilus Script?

Is there an ADB push nautilus script out there?
 
firestrife23
Old
#2  
firestrife23's Avatar
Senior Member
Thanks Meter 1
Posts: 208
Join Date: May 2009
That'll be handy, but i'm no scripting expert. I suspect it'll be bit tricky since adb is terminal only, I'm sure someone will have to figure out a way to pipe the output from terminal to GUI pop up dialog box to display progress bar, with success or failure message.
Verizon Droid 2
ROM: Liberty 1.0
Recovery: Clockwork via Droid 2 Bootstrap

Verizon Droid Eris (Retired)
ROM: KaoFroyo V37
Recovery: Amon-RA Recovery 1.6.2

T-Mobile G1 Black, SIM Unlocked, PVT (Retired)
ROM: Cyanogen Mod
SPL: Haykuro Death SPL
Recovery: Amon-RA Recovery
 
firestrife23
Old
(Last edited by firestrife23; 31st May 2010 at 08:14 AM.)
#3  
firestrife23's Avatar
Senior Member
Thanks Meter 1
Posts: 208
Join Date: May 2009
this one seem to work but no progress bar or success/fail message tho. YMMV

Code:
#/bin/sh
adb push $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS /sdcard
save this as adb_push.sh

be sure to set this file with permission:

Code:
chmod a+x adb_push.sh
think of this as rough draft, not perfect. Above code will push straight to sdcard. Suppose you could create few scripts like this..

ADB - Push to System APP

Code:
#/bin/sh
adb remount
adb push $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS /system/app
ADB - Install APK

Code:
#/bin/sh
adb install $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
EDIT: Forgot to mention this, it'll work only if you've already set path to Android's SDK tools folder in .bashrc
Verizon Droid 2
ROM: Liberty 1.0
Recovery: Clockwork via Droid 2 Bootstrap

Verizon Droid Eris (Retired)
ROM: KaoFroyo V37
Recovery: Amon-RA Recovery 1.6.2

T-Mobile G1 Black, SIM Unlocked, PVT (Retired)
ROM: Cyanogen Mod
SPL: Haykuro Death SPL
Recovery: Amon-RA Recovery
 
DarkKrai
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 25
Join Date: May 2010
awesome, thanks! I'll test it in a minute
 
pi3ch
Old
#5  
pi3ch's Avatar
Senior Member
Thanks Meter 0
Posts: 136
Join Date: May 2007
Simple scrip to push files to your android device.

Just put it in your Nautilus script dir (HOME/.gnome2/nautilus-scripts) and make it executable (chmod +x Push\ sdcard). also set path for ADB inside script (ADB=...)
Attached Files
File Type: zip Push sdcard.zip - [Click for QR Code] (286 Bytes, 41 views)

[ MortScript IDE ]
Everex E500 > Iteq Xbond(Gigabyte Gsmart i) > HTC HeRo
 
nixternal
Old
#6  
nixternal's Avatar
Member
Thanks Meter 8
Posts: 52
Join Date: Jul 2010
Location: Chicago

 
DONATE TO ME
I did something similar a while back for both Konqueror and Dolphin in KDE, but I realized, I just don't use a file manager since I prefer the command line instead. I had a working ADB zsh completion script, but somehow forgot to back it up before my previous hard drive failure.
 
herrlado
Old
#7  
Member
Thanks Meter 1
Posts: 68
Join Date: Oct 2009
https://code.google.com/p/send-to-android/
 
androidifyme
Old
#8  
Account currently disabled
Thanks Meter 40
Posts: 75
Join Date: Oct 2011
this is interesting

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more