Hi guys,
how verify the version of FreeFileSync in command line?
Thanks
verify version of FFS with command line
- Posts: 6
- Joined: 28 Jul 2020
- Posts: 943
- Joined: 8 May 2006
Sigcheck is a command-line utility that shows file version number, timestamp information, and digital signature details, including certificate chains.
Or did you mean something else?
Or did you mean something else?
- Posts: 6
- Joined: 28 Jul 2020
i mean in ubuntu, how can i use in command line?
Thanks
Thanks
- Posts: 943
- Joined: 8 May 2006
Still don't know that I'm following, but, Command Line Usage.
- Posts: 6
- Joined: 28 Jul 2020
Very strange, there is not output in konsole...why, but i have found a workround:
verins=`cat /opt/FreeFileSync/CHANGELOG | grep '202' | head -n 1 | sort | uniq | grep -o -P '(?<=FreeFileSync ).*(?= )'` ; echo $verins
verins=`cat /opt/FreeFileSync/CHANGELOG | grep '202' | head -n 1 | sort | uniq | grep -o -P '(?<=FreeFileSync ).*(?= )'` ; echo $verins
- Posts: 943
- Joined: 8 May 2006
Is that supposed to be "grep 2020" or at least the purpose to find changes dated in 2020 (of which 202 would probably suffice)?
And if you 'head -n 1' then at most only 1 line should be returned, so what is the purpose of sort & uniq?
(Or is this a general type of query where it only happens to use 'head -n 1', in this instance?)
Also, & more importantly, it appears that the latest (i.e., current) version of FFS as listed in Changelog.txt is not date stamped, so you're actually picking up latest-1.
And if you 'head -n 1' then at most only 1 line should be returned, so what is the purpose of sort & uniq?
(Or is this a general type of query where it only happens to use 'head -n 1', in this instance?)
Also, & more importantly, it appears that the latest (i.e., current) version of FFS as listed in Changelog.txt is not date stamped, so you're actually picking up latest-1.
- Posts: 6
- Joined: 28 Jul 2020
yes, 202 is suffice
i use that command for other program...but in this case yes, not need sort uniq
no, latest FFS not use date stamped:
./freefilesyncupdate.sh
download/FreeFileSync_11.0_Linux.tar.gz
11.0
11.0
L'ultima versione di FreeFileSync è già installata '11.0'
Bye
i use that command for other program...but in this case yes, not need sort uniq
no, latest FFS not use date stamped:
./freefilesyncupdate.sh
download/FreeFileSync_11.0_Linux.tar.gz
11.0
11.0
L'ultima versione di FreeFileSync è già installata '11.0'
Bye