Jump to content
Macro Express Forums

widevisions

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by widevisions

  1. 1 hour ago, terrypin said:

    Hi, sorry for the late answer, I am testing it right now so if it works, great! I will let you know asap. In the meantime I found that the error I got was due to some corrupted files in my directory, not from getting the variables, and I am now going on step by step testing again this first macro (in my spare time). Unfortunately I am not a coder so it's not exactly easy for me. About the SO, no I am on Win 10 working on a NAS (linux) but I was a linux sysadmin (in a far past), so I often use linux terms. About your macro, I am embarrassed but I have no idea of where to start with it... I will let you know my progresses, I am confident I will figure it out, just it takes a lot of time cause I am a rookie :)

  2. Hi and thank you for your answer. Atime and Mtime are Access Time and Modification Time as native properties of files and folders in most filesystems (sorry atime and mtime as names are maybe mostly linux stuff). You can easily see these properties setting a custom directory view (using Details listing) in File Explorer, and choosing to show them as custom columns when listing the directory. If you check Variable Set From File, there is the option to check and set variables according to the file time properties, one for Access Time and one for Modification Time. But I am not sure if I can do the same check with folders. The check floders this way is very handy monitoring or scanning a filesystem for changes, for example for backup, archive or versioning macro. When a file is changed within a directory, also the mtime and atime of its directory is changed. This means that if you are scanning a filesystem with 1.000.000 in 100.000 folders to perform any action on the files, you can skip all the folders that have a mtime later than a preconfigured date, making the script by far faster. I hope I was able to explain myself a bit better. Cheers

  3. Hi all,

    new to Macro Express Pro so I apologize if the question is stupid.

    How can I set variables according to folders properties, the same way i can do with files? (atime, mtime and so on)).

    Therre is no Variable Set from Folder, and it seems Variable Set From file is not working with directories (that is not a huge surprise :) ).

    Thank you in advance

×
×
  • Create New...