FORUMS
Post Reply Subscribe to Thread Email Thread

Shell command help

8th August 2014, 04:39 AM |#1  
OP Junior Member
Thanks Meter: 0
 
More
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.
Last edited by guanaco12; 8th August 2014 at 04:45 AM.
 
 
9th August 2014, 02:28 PM |#2  
samsungrockz's Avatar
Member
Flag Kolkata
Thanks Meter: 11
 
More
Quote:
Originally Posted by guanaco12

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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes