script to copy multiple files from multiple directories to one of the folder/directory

I’m having five different directories in the home path which contain some files in all directories, as shown below. home/dir1 contains: abc121219.txt kucj.txt gtuj120518.txt gdkmcg.txt such.txt home/dir2 contains: itfhh.txt jdjn.txt iejb.txt rub.pdf gejb. txt home/dir3 contains: duk.txt jh.txt home/dir4 contains: eubv.txt jfhnb.txt krti.txt sk.pdf home/dir5 contains: euhv.txt idb.txt grfb.pdf urg.txt Here, I want to copy…

Details

Why after KEYCODE_BACK, onActivityResult is not called again?

In the recyclerView adapter, I want to call startActivity, and I want onActivityResult to be called when a new activity occurs. When I first started, my new activity called onActivityResult. But if keyCode is KEYCODE_BACK, then onActivityResult is not called again. // My recyclerView adapter: Intent intent=new Intent(); intent.setClass(A.activity, NewActivity.class); intent.putExtra(“position”,position); try { NewActivity.activity.finish(); Log.e(TAG,”finish”);…

Details