Advertisement
Guest User

AR: Rename each folder with a list of filenames (Main)

a guest
Mar 23rd, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(item.path == temp_path) {
  2.   file_counter++;
  3.   temp_path = item.path;
  4.   return FILE_PREFIX + FILENAME_LIST[file_counter - 1];
  5.   }
  6. else{
  7.   file_counter=1;
  8.   temp_path = item.path;
  9.   return FILE_PREFIX + FILENAME_LIST[file_counter - 1];
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement