Anonymous School
(Minds of Hacker)
--------------------------------
Hello Friends, Welcome to Anonymous School. In this post I show you How to Copy paste files & folders in termux & kali linux. Commands to copy paste Files & folders in termux & in kali Linux. This is this 15th part of this course .
In previous post, I shown you , important tools of termux & kali linux & uses of this tools.
How to Copy paste files & folders in termux & in kali linux. :-
Requirements :-
1. Termux Apk ( Click Here for More information ).
OR
2. Kali Linux
OR
3) Kali Nethunter file ( Click Here to Download ).
So friends , Now I am showing you commands , by this we can copy or paste any files or folders . This commands are useful for termux or kali linux also. Then read this full blog & try this commands shown below.
For practical of this post please watch video, video link is given above or you can click on above poster.
Now follow the below 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 file in termux:-
Now follow the following steps:-
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
1) 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
*******************Don't Make Learning Hard*****************
Follow us on :-
1) YouTube Channel :- Click Here
2) Blog :- Click Here