Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Kirk Brooks via 4D_Tech
Robert, On Tue, Mar 14, 2017 at 2:56 PM, Robert ListMail via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Actually, I’ve looked for years and have never found anything that will do > this. It’s not impossible to do what needs to be done manually, it’s just a > royal pain and prone to user errors that

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
I’m not looking to identify all duplicates. I want to know what unique data might be on a disk labeled “backup"…. To determine this the software (rsync?) must query an index of ALL specified drives where the original pathname may be very different for each an every file. Can rsync perform the

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Chip Scheide via 4D_Tech
You can try this link : http://download.cnet.com/s/duplicate-file-finder/mac/ > I guess Git does a pretty decent job at tracking changes and > movements in a designated directory, > but if you feel 4D give you the strength and flexibility to do > exactly what you want, > I have nothing against

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Chip Scheide via 4D_Tech
I came across a tool : zsDuplicateHunter I haven't used it for a long time - so not clue as to how (or if) it is has been updated > Hi Kirk! > >> On Mar 14, 2017, at 11:23 AM, Kirk Brooks via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> Robert, >> It sounds like you are doing some really

Re: v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
THANKS! I didn't realize this got populated before the file was created. > After the call to Select document, the system variable Document > contains the full path to the document selected. > > John > > >> On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com>

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Keisuke Miyako via 4D_Tech
I guess Git does a pretty decent job at tracking changes and movements in a designated directory, but if you feel 4D give you the strength and flexibility to do exactly what you want, I have nothing against it. > 2017/03/15 8:46、Robert ListMail via 4D_Tech <4d_tech@lists.4D.com> のメール: > Chip,

Re: Backup files - restoring backup

2017-03-14 Thread Pat Bensky via 4D_Tech
Hi Kirk, They eventually found the backup files :) On 14 March 2017 at 16:05, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > Pat, > I also see this happen when I'm developing and the log file or the datafile > gets replaced. Before everyone starts thinking I'm being incredibly sloppy >

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
Chip, thanks for your input but no traditional rsync or clone tools or backup software is up to the task…. Since the pathnames are guaranteed to be different… R > On Mar 14, 2017, at 5:33 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > for simply synchronising two

Re: v16 and Canvas

2017-03-14 Thread Pat Bensky via 4D_Tech
So I got an update for the plugin form Rob at Pluggers and now it works fine. On 9 March 2017 at 21:24, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote: > 16 beta 1 - yeah - I was surprised it's that old. That's how often I get > to work with it I guess. :( > > > On Thu, Mar 9, 2017 at 12:49

Re: v13 - Select & Create Document

2017-03-14 Thread Jeremy French via 4D_Tech
Hi Chip, The command "Select document” returns (as a function) only the document name. To get the actual path, add the fifth optional parameter which is an array. The first element of the array will have the full path to the saved document. Using your code: -- $File_Path->:=Select

Re: Force the execution of an object method

2017-03-14 Thread Foucauld Perotin via 4D_Tech
Thanks David, thanks Jim and thank Chip for your replies. And sorry that I didn’t post earlier. It’is for reasons of organization of my software that I wanted to do that part in an object method (actually, I have to create recursive links, so doing the research in another process is the best

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Keisuke Miyako via 4D_Tech
for simply synchronising two directories possibly on a separate volume, rsync has been around for quite some time. https://en.wikipedia.org/wiki/Rsync but I may be getting wrong the "this" in "anything that will do this". > 2017/03/15 6:56、Robert ListMail via 4D_Tech <4d_tech@lists.4D.com>

Re: v13 - Select & Create Document

2017-03-14 Thread Keisuke Miyako via 4D_Tech
and for multiple files, there is an optional array parameter to receive all paths. > 2017/03/15 6:36、John Baughman via 4D_Tech <4d_tech@lists.4D.com> のメール: > After the call to Select document, the system variable Document contains the > full path to the document selected.

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
Thanks Tim, I’ll have a look. R > On Mar 14, 2017, at 2:56 PM, Timothy Penner via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > It's been a few years since I looked at it but I think the "HASH Examples in > 4D" tech note includes a sample database that had as a proof of concept the > ability

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
Hi Kirk! > On Mar 14, 2017, at 11:23 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > Robert, > It sounds like you are doing some really interesting stuff. Why yes, is there any other way? :) > kinds of files where surreptitious data are easily hidden. Then we get to > the

Re: v13 - Select & Create Document

2017-03-14 Thread John Baughman via 4D_Tech
After the call to Select document, the system variable Document contains the full path to the document selected. John > On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have the following (code excerpt) attempt to create a document on > disk. >

v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
I have the following (code excerpt) attempt to create a document on disk. The Select Document dialog is fine, and shows the desired directory (default saved to #5) I can enter a file name, no problem. However... $File_Path-> after accepting the file destination and file name contains ONLY the

RE: Unique Files Verification Software (Mac)

2017-03-14 Thread Timothy Penner via 4D_Tech
It's been a few years since I looked at it but I think the "HASH Examples in 4D" tech note includes a sample database that had as a proof of concept the ability to "find duplicate files on a hard drive" http://kb.4d.com/assetid=76130 Tech Note: Hash Examples in 4D PRODUCT: 4D | VERSION: 12 |

Re: Online Documentation with Right Click on command

2017-03-14 Thread Chip Scheide via 4D_Tech
The language documentation, PDF - click on the [very tiny] PDF icon next to the title - is on an FTP server. I have had issues with FTP and Mac OS in the past, where the Mac OS tries to mount the FTP directory directly on the desktop. You can try copying the link and using something like

Re: Online Documentation with Right Click on command

2017-03-14 Thread G-Mail via 4D_Tech
Thanks Doug and Chip: The download link for downloading 15R4 documentation, or 16 is not doing anything for me in any of my browsers. I played around with the Web link and got rid of the ‘r’ that was after the 15 and then the web documentation for the command comes up for v15.4. That will get

Re: PHP random errors

2017-03-14 Thread Paul Dennis via 4D_Tech
I have not managed to solve this problem of running 2 copies of 4D on same machine both calling php. I have them running on reports 8002 and 8010 with 5 processes and also I tried this auto_prepend_file = "E:/V15 R5 Compare Client/Resources/php/Windows/_4D_Execute_PHP.php" session.save_path =

Re: Users & Groups (What is "proper access privileges"?)

2017-03-14 Thread Kirk Brooks via 4D_Tech
Hi Jeremy, A little over a year ago I transitioned one of my primary project from my 'roll my own' user system to using the 4D system. Primarily I wanted to get out of the password security business as well as take advantage of some of the native 4D security features. All of that gave me reason to

Re: 4D v15.4: Internet commands *SOLVED*

2017-03-14 Thread Two Way Communications via 4D_Tech
In 4D starting with v14, 4D no longer limits the lines to 60 chars when you do BASE64_Encode. (it used to do that in v13) As a result, some email servers reject the message (but not always). After I split the lines in the Base64 encoded blob into 60 chars each (by only using a line feed), the

Full text document indexation

2017-03-14 Thread Daniel N. Solenthaler via 4D_Tech
Hi everyone, for our 4D based DMS, we currently store the documents outside of the database and have them full-text indexed by Spotlight (the server is macOS). Then we use Rob Lavaux' awesome PlugIn to access the Spotlight index and - voilà - we have a powerful full text document indexation

Re: Online Documentation with Right Click on command

2017-03-14 Thread Chip Scheide via 4D_Tech
Doc.4d.com for the files to download as a note: if you know the command and type it and the left parenthesis the parameters show up in the 'status bar'(bottom of the window) ex: Save Record( Save Record {(aTable)} On Tue, 14 Mar 2017 10:28:21 -0600, G-Mail via 4D_Tech wrote: > I have got

Re: Online Documentation with Right Click on command

2017-03-14 Thread Douglas von Roeder via 4D_Tech
Jody: This link will will take you to the docs for V16: http://doc.4d.com/4Dv16/index.en.html If you click on the link "4D Language Reference", you'll end up here: http://doc.4d.com/4Dv16/4D/16/4D-Language-Reference.100-3035671.en.html On the right side are the headings Properties, Index,

Online Documentation with Right Click on command

2017-03-14 Thread G-Mail via 4D_Tech
I have got addicted to using the right click on a command to view that commands documentation. A few weeks ago this stopped working for me, and for the other programmer in another country. I believe the settings are located in the 4D Preferences - Documentation Location. The Web site setting

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Kirk Brooks via 4D_Tech
Robert, It sounds like you are doing some really interesting stuff. It also sounds like you might want to be looking for forensic tools already been built for this sort of work. Alex is right about hashing the file blob to develop a unique identifier for exact matches regardless of name but that

Re: Backup files - restoring backup

2017-03-14 Thread Kirk Brooks via 4D_Tech
Pat, I also see this happen when I'm developing and the log file or the datafile gets replaced. Before everyone starts thinking I'm being incredibly sloppy it happens when I pull a copy of the datafile off the server to open on my developer machine. If I forget to trash the existing log file

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Herr Alexander Heintz via 4D_Tech
You're welcome. I need this as we store all attached files of e-mails in our DMS and here we find truckloads of duplicates (logos in mail signatures, etc.) In order to avoid blowing up storage we calculate a hash of every file and only store uniques, and then link them to the appropriate source

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
Alex, thanks for the input. I thought it might be a good task for 4D. So how or why do you need such a tool? Btw: I don't really need the hash comparison if I had other file attributes. I'll look at this again tomorrow. Thanks, Robert Sent from my iPhone > On Mar 14, 2017, at 3:25 AM,

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Herr Alexander Heintz via 4D_Tech
Hi, I use a similar Algorithm for optimizing document storage. Pretty simple actually: just troll through all directories recursively and store each file in a record. You just need the path and the file hash which you can create with DOCUMENT TO BLOB($t_DocPath;$x_Content) $t_FileHash:=Generate

Unique Files Verification Software (Mac)

2017-03-14 Thread Robert ListMail via 4D_Tech
I need a utility that can scan a backup drive (or index) and identify what’s unique to the backup volume without expecting identical pathnames on the other drives... So, the routine would have to query (effectively a Finder Search for each file) all specified drives looking for each file and