Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,238 Members 49,018 Now Online
XDA Developers Android and Mobile Development Forum

Shell command help

Tip us?
 
guanaco12
Old
(Last edited by guanaco12; 8th August 2014 at 04:45 AM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 1
Join Date: Aug 2014
Default Shell command help

Hi all, I'm new to xda.

Q: I'm trying to create a scrip to move and rename a random movie name from /sdcard/movies/(random movie name here .mp4). To /sdcard/savedmovie/(movie here with new name .mp4). Using shell command on Android by the way

note:there will be only 1 movie inside the movie folder.

Any help will be appreciated. Thx in advance.
 
samsungrockz
Old
#2  
samsungrockz's Avatar
Member
Thanks Meter 10
Posts: 37
Join Date: Jul 2014
Location: Kolkata
Quote:
Originally Posted by guanaco12 View Post
Hi all, I'm new to xda.

Q: I'm trying to create a scrip to move and rename a random movie name from /sdcard/movies/(random movie name here .mp4). To /sdcard/savedmovie/(movie here with new name .mp4). Using shell command on Android by the way

note:there will be only 1 movie inside the movie folder.

Any help will be appreciated. Thx in advance.
This is what you want>>

Code:
cd /sdcard
cp movies/random_movie_name_here.mp4 savedmovie/movie_here_with_new_name.mp4
rm movies/random_movie_name_here.mp4
exit
Goodluck
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes