Question: I need to use find command in my script like this:

```
#!/bin/bash
...

find /root/olddir/ -name "*.log" -type f | xargs -I '{}' mv {} /root/newdir/

...

```

But I need to set olddir/newdir and use for multiple dir like this:

```
/root/olddir/ --> /root/newdir/
/root/olddir2/ --> /root/newdir2/
/root/olddir3/ --> /root/newdir3/
/root/another_olddir3/ --> /root/another_newdir3/
/home/old/ --> /home/new/
...

```

Can I use conf file for that? How can I read parameters on conf file like this:

param.conf:

```
#olddir;newdir
/root/olddir/;/root/newdir/
/root/olddir2/;/root/newdir2/
/root/olddir3/;/root/newdir3/
/root/another_olddir3/;/root/another_newdir3/
/home/old;/home/new/

```

Answer: 
I have also face same problem, actually your personal laptop not compatible to run android studio, in the documentation of android they mentioned that 4 GB RAM is sufficient but my personal experience said that RAM should be 8 GB, its also depend on your operating system in MAC os android studios running smoothly then in Linux its also give good performance but in Windows its creating a problem, i think you need to upgrade your RAM.
Add this line to the file:

org.gradle.daemon=true
From now on Gradle will use a daemon to build, whether you are using Gradle from command line or building in Android Studio. You could also place the gradle.properties file to the root directory of your project and commit it to your SCM system. But you would have to do this, for every project (if you want to use the daemon in every project).

Note: If you don’t build anything with Gradle for some time (currently 3 hours), it will stop the daemon, so that you will experience a long start-up time at the next build.

Note: Performance improvements are one of the great tasks in the Gradle roadmap for 2014 (and reaching into 2015). So I hope, we’ll see the general performance increasing within these years.

Note: This does only affect console builds. Android Studio always uses a Gradle daemon (and depending on your settings some other optimizations).