Anonymous School
(Minds of Hacker)
----------------------
Hello friends , welcome to Anonymous school. In this post i show how we can copy and paste files & folders in Termux. I show all commands by this you can copy paste any folder or files 📂 in Termux.
How To Copy Paste Files & Folders in Termux :-
Requirements :-
1. Termux Apk ( Click Here for More information ).
There are two command for copy paste files & folders. First command is to copy paste files & Second command is use to copy paste files & folders. Then command & all steps are given below.
Now follow the following steps.
1) Open the termux & type following commands , to update termux.
$ apt update
$ apt upgrade
2) From above commands we updated our termux, now we see how to copy paste files & folders in termux. But there are two parts , first how to copy paste file & second how to copy paste folders, because there is small difference in there commands.
1. How to Copy Paste files in Termux :-
1) We use 'cp' command to copy paste file in termux.
2) This command only use for file , not for folder.
3) There is two ways to use this command
I) First way
i) first type 'cp' in termux , then give space, then type a name of file , which you want to copy, then give space , then type folder name where you want paste this file.
ii) structure of this command :- cp file_name_which_you_want_copy folder_name_in_which_in_which_you_want_to_paste_file
iii) EX- cp hotstar.apk Android
II) Second way
In second we use this same command, but difference is that we path or location to paste. In the first way , we done copy paste in same directory , but if we want paste the file in folder, which is in another folder, then for this we need to get location of this folder first & then we this location to paste the file.
i) First go to the folder where you want to paste file & type following command.
$ pwd
ii) By this command you get a path or location of this folder, then copy this full location.
iii) Now type 'cp' in termux , then give space, then type a name of file , which you want to copy, then give space , then type or paste path which you copy in above step.
iv) structure of this command :- cp file_name_which_you_want_copy paste_location_or_path
v) EX- cp hotstar.apk /Android/data/obb
2. How to copy paste folder or file in termux:-
Now follow the following steps:-
1) We use 'cp -r' command to copy paste folder in termux.
2) By this command we can copy file & folder both.
3) There is two ways to use this command
I) First way
i) first type 'cp -r' in termux , then give space, then type a name of file or folder , which you want to copy, then give space , then type folder name where you want paste this file.
ii) structure of this command :- cp -r file_or_folder_name_which_you_want_copy folder_name_in_which_in_which_you_want_to_paste_file
iii) EX- cp -r Music Android
iv) EX- cp -r info.pdf Doc
II) Second way
In second we use this same command, but difference is that we path or location to paste. In the first way , we done copy paste in same directory , but if we want paste the file or folder in any folder, which is in another folder, then for this we need to get location of this folder first & then we this location to paste the file.
i) First go to the folder where you want to paste file & type following command.
$ pwd
ii) By this command you get a path or location of this folder, then copy this full location.
iii) Now type 'cp -r' in termux , then give space, then type a name of folder or file , which you want to copy, then give space , then type or paste path which you copy in above step.
iv) structure of this command :- cp -r file_or_folder_name_which_you_want_copy paste_location_or_path
v) EX- cp -r Music /Android/data/obb
vi) EX- cp -r info.pdf Doc/files/Documents