Page 94 of 99

Re: How To Use Dropit

Posted: Sat Apr 29, 2017 8:59 am
by webfork
Ocoee wrote:Just downloaded dropit and have a vague idea how it works. Want it for what I hope is a simple task, but can't figure out all the settings
I'll bump this over to the DropIt thread.

Re: How To Use Dropit

Posted: Sun Apr 30, 2017 3:31 pm
by divinity666
@Ocoee:

Welcome to the DropIt user community. I hope you will have a lot of fun with the tool. Assuming you are running DropIt 8.3:
Ocoee wrote:1) I want it to act automatically, right now it keeps asking if I want to copy.
Hm... I am not sure, if I understand you point correctly, but if you are talking about a list view, which shows your copy source and destination, you can simply change one option: Right click the DropIt icon (blue icon with arrow down). Select "Options". Select "Start the process after loading". So DropIt no longer shows this window, but directly starts executing.

If necessary you can also deselect the "Show progress window during process". This then makes DropIt work in the background without disturbing your work.
Ocoee wrote:2) I want it to sync the copied folder to the original. right now all I see as an option is skip or overwrite. If it overwrites, will it have to copy all photos each time or will it just drop in the new photos?
This also depends on your configuration. You could e.g. filter all files modified within the last minuter/hours to skip unchanged files. This can be done in the association filter section.

Please note, that this kind of backup does not delete files in the destination!

Best regards

Re: DropIt

Posted: Fri May 05, 2017 5:48 am
by martin-i
Hi, I have started to use DropIt and like the features and possibilities it offers.
Using and testing it for a while, I came to the point where I would like to check for file properties in the rules, eg. %CameraMaker% for pictures, or %Author% in Office-documents.

I read in the Wiki, that it's possible to use abbreviations in rules. However I did a lot of research in the Wiki, the Guide, this forum and Google, I didn't find the answer or an example HOW to do it properly :(
I tried these two rules:
%CameraMaker%=["Apple"]
%Author%=["myname"]
but they didn't lead to any success.

Thanks for any help or suggestion on how to do use abbreviations/check file properties in rules.

Best regards

Re: DropIt

Posted: Sun May 07, 2017 5:13 am
by divinity666
Welcome martin-i,

I fully understand your question. The point is, that this is not yet implemented, in means of a filter criteria for the file content.

Using abbreviations in rules are only there to build file name/file path rules including a variable part, e.g. %PortableDrive% or similar. So you can define there how the file name and path should look like, but not set a filter criteria to the file content.

We have your question already in the feature request list. I will have a look at it.

Best regards

Re: DropIt

Posted: Sun May 07, 2017 12:21 pm
by divinity666
@ProphetSe7en
Ok. Having thought about a solution again, I came up with a FULLY WORKING configuration to get exactly what you describe:
ProphetSe7en wrote:I want to move folders containing .mkv to a different folder.
ProphetSe7en wrote:What i don`t want is to move folders that has rar archive inside. The problem is that these folders usually contains a "nameofthemoviesample.mkv that triggers my move folder filter.
It is basically easy and obious, but simply didn't came to my mind: Configure your associations like:

Code: Select all

[Ignore with RAR]
State=Enabled
Rules=**
Action=$2
Destination=-
Filters=0>KB|0>D|0>D|0>D|0=off|0=off|0=off|0=off|0=off|1=*.rar|0<
FavouriteAssociation=True

[Move]
State=Enabled
Rules=**
Action=$0
Destination=<<YOUR DESTINATION>>
Filters=0>KB|0>D|0>D|0>D|0=off|0=off|0=off|0=off|0=off|1=*.mkv|0<
You have two associations. One is ignoring the folders including *.rar files. This association is marked as favourite, so it gets executed ALWAYS before the other association.

The second association does the move then.

Tested and worked like a charm! Hope this helps.

Regards

Re: DropIt

Posted: Mon May 08, 2017 8:06 am
by KPac
Hi,

I just started using Dropit in the last week and am very impressed with its capability.

I had a question with regards to on of the new features implemented in V8.3:

Objective: I have multiple PDF files (Invoices / Statements) in a folder. I am trying to get Dropit to rename them and them to to different folder. For the rename, I am trying to extract a date within the file which is in this format: "Issue date: 25 Apr 17" to 2017-04-25. i.e. I am trying to get Dropit to automatically rename the file to "2017-04-25 - Optus Bill".

Current Config: I am using the following under the New Name field: C:\Users\Kevin\Desktop\Temp\%FirstFileContentDate% - Optus Bill.%FileExt%

Result: When I run Dropit, It does move and rename the file, however it renames the file to "Apr 17 - Optus Bill".

Other Notes:
- I also tried to use the %FirstFileContentDateNormalized% abbreviation, however that just renames the file as "Unknown FirstFileContentDateNormalized - Optus Bill"
- I also tried to use "C:\Users\Kevin\Desktop\Temp\%FileContentMatch1% = ["Issue Date:"] - Optus Bill.%FileExt%" in the file name (And different combinations of the same), however that kept giving me an error.

Could you please help with the correct syntax that I should be using to extract the date in yyyy-mm-dd format from a PDF file containing the string "Issue date: 25 Apr 17".

Thanks in advance.

Re: DropIt

Posted: Tue May 09, 2017 11:13 am
by divinity666
Hi KPac,

welcome to the community!
KPac wrote:For the rename, I am trying to extract a date within the file which is in this format: "Issue date: 25 Apr 17" to 2017-04-25. i.e. I am trying to get Dropit to automatically rename the file to "2017-04-25 - Optus Bill".
That's exactly what the function should provide (except the named format, which can be achieved by using modifiers), BUT read on...
KPac wrote:Current Config: I am using the following under the New Name field: C:\Users\Kevin\Desktop\Temp\%FirstFileContentDate% - Optus Bill.%FileExt%
Result: When I run Dropit, It does move and rename the file, however it renames the file to "Apr 17 - Optus Bill".
Here we see the first issue. The provided date format is currently not configured. Supported formats are:
  • 3.10.11
    3.10.2011
    3-10-2011
    2011-10-3
    3. Oct 11
    3. Oct 2011
    Oct 11
    Oct 2011
    Oct 3, 11
    Oct 3, 2011
The red date format is the one, which DropIt found. So the day part is missing (as there is no dot after the day).

I was expecting that not all necessary date formats will be available, but not soooo soon :roll: Anyway: At the moment I am fixing that by making it configurable in the settings.ini. This shall be available in the next release (I think in a few weeks). At the moment there is no way round.

For your example it means, that it "understands" the date only without the day, at the moment...
KPac wrote:I also tried to use the %FirstFileContentDateNormalized% abbreviation, however that just renames the file as "Unknown FirstFileContentDateNormalized - Optus Bill"
This is a second issue. I just checked it in the code. It happens only, if the found date does not include a day, which is the case for your example...
KPac wrote:I also tried to use "C:\Users\Kevin\Desktop\Temp\%FileContentMatch1% = ["Issue Date:"] - Optus Bill.%FileExt%" in the file name (And different combinations of the same), however that kept giving me an error.
Well, that should basically work. Try the following:

Code: Select all

[rename]
State=Enabled
Rules=*
Action=$7
Destination=20%FileContentMatch3%-%FileContentMatch2#r(Jan,01)#r(Feb,02)#r(Mar,03)#r(Apr,04)#r(May,05)#r(Jun,06)#r(Jul,07)#r(Aug,08)#r(Sep,09)#r(Oct,10)#r(Nov,11)#r(Dec,12)%-%FileContentMatch1% - Optus Bill.%FileExt%
Filters=0>KB|0>D|0>D|0>D|0=off|0=off|0=off|0=off|0=off|0=|1~Issue date: (\d{1,2}) ([A-Za-z]{3}) (\d{2})
Of course this is not a nice solution, but works :D

Best regards

Re: DropIt

Posted: Fri Jun 16, 2017 10:28 am
by chyron8472
How do I get DropIt to move files or folders to a location without deleting previous contents?

I'm trying to move files from Dropbox to my Plex Media Server library. I decided to move my SpecOps audiobook, in the /Craig Alanson/ExForce 2-SpecOps folder. DropIt successfully moved the "Craig Alanson" folder and its contents to where I wanted; BUT there already was a "Craig Alanson" folder at the destination, so DropIt deleted the "ExForce 1-Columbus Day" folder that was originally in there.

Re: DropIt

Posted: Wed Jun 21, 2017 12:41 pm
by divinity666
Hi chyron8472,

thanks for your message. I was able to reproduce this fault behaviour and I add it to the bugs section at sourceforge.

Anyway: To come over this issue you could configure a Copy action instead of the Move action. This will then add the SpecOps folder beneath the Columbus Day. This should be ok so far, except that the source is not automatically removed...

Best regards

Re: DropIt

Posted: Wed Jul 12, 2017 1:59 am
by tproli
I needed to create a gallery with SVG files but DropIt perceived them as files, so all I got was download links instead images. I could trick DropIt by renaming the SVGs to PNGs, run the gallery action, then copy back SVGs to the "photos" and "thumbs" dirs. Finally edit index.html and replace ".png" with ".svg". Just in case someone needs this.

Re: DropIt

Posted: Mon Jul 17, 2017 4:01 am
by adrianvas12
Greetings and thank you for such a great app.
Maybe a silly question but how do I delete a folder and all its content below i.e. subfolders and files? For example, I would like to create a rule if a folder has the word trash in its name remove the entire folder and its content.
I was able to create a rule but it will only delete the folder if there are only files within - it will not work if the folder has also subfolders.

Code: Select all

Rules: **trash**
Action: Delete
Appreciate the help and keep up the good work.
A

Re: DropIt

Posted: Mon Aug 14, 2017 11:46 am
by agome049
I need to apply drop it by moving files faster than 1Hz (attempting 2Hz). Is there any way to modify the program so that it will be able to meet this requirement. Every time that I try to change the time interval to .5 s it tells me that I need to input an integer number. I need a way to bypass this requirement.

Thanks in advance

Re: DropIt

Posted: Mon Sep 04, 2017 12:55 pm
by divinity666
@tproli:

Thanks for this information. I added it as feature request.

Re: DropIt

Posted: Mon Sep 04, 2017 1:01 pm
by divinity666
@adrianvas12

Sorry for the late answer. I somehow did not receive the info about a new post...

Anyway, regarding your question: For me this works fine with your setting. Could you probably post your settings.ini and profile .ini?

Re: DropIt

Posted: Mon Sep 04, 2017 1:21 pm
by divinity666
@agome049

Basically we are working on a event based mechanism to process file. This shall be available in a 9.x version. As my time is very limited at the moment, I can not tell you, when it will be available.

You may have a look at closing the feature request https://sourceforge.net/p/dropit/feature-requests/12/, which asks for the same functionality.