JBIR

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2117134
    6324e8f2ede08 bpfullJBIR
    Participant
    Rank: Rank-1

    @Geekaveli


    @Geekaveli

    It’s all fun and games until someone gets malware. Not saying there is, but am saying it can happen when you download random binaries. Also if it’s open source, you have to build it yourself (which usually requires command line or code knowledge ) because if you don’t, you can’t guarantee that the binary blob you downloaded was built from the exact same code in the repo you checked.

    Anyhow, there's no right or wrong answer to what to do here. Everyone can decide for themselves how much and who they trust. Perhaps an app is useful and written by someone who wants to help share. Perhaps it's written by the copyright holder as a trap. Perhaps it's malware. Why did DAZ stop using .exe installers?

    My opinion is that a certain amount of paranoia is justified in file sharing communities. You can choose your own.

    #2116920
    6324e8f2ede08 bpfullJBIR
    Participant
    Rank: Rank-1

    Yikes. You don't need to do all of this, as powershell has a built-in way to change the timestamp of a file.

    PS C:\> (Get-Item "file.txt").CreationTime=$(Get-Date -format o)
    PS C:\> (Get-Item "file.txt").LastWriteTime=$(Get-Date -format o)
    PS C:\> (Get-Item "file.txt").LastAccessTime=$(Get-Date -format o)

    Which will change them to the current time.

    With a wildcard or pipe, you can do this to a folder.

    Essentially you are doing the windows equivalent of "touch" from the linux command line, so just google for something like "how to use touch in powershell". I don't run windows myself, i remember the above from one project long ago.

Viewing 2 posts - 1 through 2 (of 2 total)

 

Post You Might Like