Search:

Type: Posts; User: Json

Search: Search took 0.21 seconds.

  1. Replies
    10
    Views
    4,105

    Re: Copy folder based on latest date

    or if(inQuestion.isFile()) perhaps :)

    // Json
  2. Replies
    10
    Views
    4,105

    Re: Copy folder based on latest date

    Hello Time, would that not also return you a directory if the latest modified file in the directory was actually another directory?

    // Json
  3. Replies
    10
    Views
    4,105

    Re: Copy folder based on latest date

    Basically use the File class and create an instance which points to your base directory.

    Use file.listFiles() get all the files in the base directory.
    Use a comparator to sort the array by...
Results 1 to 3 of 3