TomBenz Posted January 22 Share Posted January 22 (edited) @Acidham is it possible to provide more information at the start or end of sync activities. Examples Number of new Files or data copied please. Edited January 23 by TomBenz Link to comment
Acidham Posted Tuesday at 03:54 PM Author Share Posted Tuesday at 03:54 PM @TomBenzI released a new version with an option to show rsync log in a text file after completion. let me know if this fits your request? https://github.com/Acidham/rsync-folders/releases/tag/v1.6.0 Link to comment
TomBenz Posted Tuesday at 04:22 PM Share Posted Tuesday at 04:22 PM @Acidham thanks. I tried this. The version v1.6 has not appeared in Alfred Gallery so I did manual update. The files got copied, but I don't see rsync_log.txt. Following is the message in the debug log: ERROR: RSync Folders[Run Script] Traceback (most recent call last): File "/Users/xyz/Downloads/Alfred.alfredpreferences/workflows/user.workflow.73A1DA96-BA16-4EBE-B619-FD5C60A972A3/exec.py", line 58, in <module> mg = int(match.group(1)) AttributeError: 'NoneType' object has no attribute 'group' Few questions: 1. Will the log file be shown in debug log or in the notification pane? 2. What is the maximum size that you have used Rsync? Can it be used for incremental backup of 50-60 GB (with 1-2 GB of new files every day) from one drive to iCloud? Is there a better option for such kind of use case? 3. Can Source folder name be used to create sub-folder in target location? I had expected this but lost some other files in target location. Now I create sub-folder at target first but it will be easier if it can create sub-folder or ask user about it. Thanks for this great workflow and your time on it. Link to comment
Acidham Posted Tuesday at 04:27 PM Author Share Posted Tuesday at 04:27 PM Alfred Gallery will update with some delay. I found this bug and just fixed it. Please download it again. re questions: 1. will be opened as txt file in default txt editor 2. I don't know ... test it 3. I don't understand the use case. Sub-Folders and files below will be in sync as well. In general, the WF just keep both folder in sync including deletions, that's it. Link to comment
TomBenz Posted Wednesday at 12:29 AM Share Posted Wednesday at 12:29 AM 7 hours ago, Acidham said: Alfred Gallery will update with some delay. I found this bug and just fixed it. Please download it again. re questions: 1. will be opened as txt file in default txt editor 2. I don't know ... test it 3. I don't understand the use case. Sub-Folders and files below will be in sync as well. In general, the WF just keep both folder in sync including deletions, that's it. 1. Alfred gallery still has v1.5.0. Re-tested and it words great. Got text file with this very useful info. Number of files: 9 (reg: 8, dir: 1) Number of created files: 0 Number of deleted files: 0 Number of regular files transferred: 0 Total file size: 191,807 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes File list size: 0 File list generation time: 0.001 seconds File list transfer time: 0.000 seconds Total bytes sent: 504 Total bytes received: 18 sent 504 bytes received 18 bytes 1,044.00 bytes/sec total size is 191,807 speedup is 367.45 3. Yes, it create sub-folders. Request for creating "same folder" as source folder at target location first and then copy all files within it. I had given a generic target folder such as download initially and it removed everything else at this location. I am now creating Target folder first properly and then using it. Link to comment
vitor Posted Wednesday at 01:55 AM Share Posted Wednesday at 01:55 AM 1 hour ago, TomBenz said: Alfred gallery still has v1.5.0. As @Acidham mentioned, it’s not updated there immediately. This is by design. Among other things, it allows for this short feedback loop where a workflow creator can add a requested feature, it’s tested and kinks are ironed out, then it’s released. This way we avoid more people getting the intermediary version and can serve the known good one. It should be live by tomorrow. You don’t have to worry about it, the Gallery understands it’s the same workflow and will offer updates even if you downloaded it from GitHub. Acidham and TomBenz 1 1 Link to comment
Acidham Posted Wednesday at 07:02 AM Author Share Posted Wednesday at 07:02 AM @vitor Among other things, it allows for this short feedback loop where a workflow creator can add a requested feature, it’s tested and kinks are ironed out, then it’s released. +100 …the delay makes total sense! @TomBenz Request for creating “same folder” as source folder at target location first and then copy all files within it. I had given a generic target folder such as download initially and it removed everything else at this location. I am now creating Target folder first properly and then using it. I got it now and makes sense. I will add this to the backlog! TomBenz 1 Link to comment
TomBenz Posted Wednesday at 08:20 AM Share Posted Wednesday at 08:20 AM 1 hour ago, Acidham said: @vitor +100 …the delay makes total sense! @TomBenz I got it now and makes sense. I will add this to the backlog! Thanks @Acidham and @vitor One more request: Is it possible to add "Update" option where source path can be reviewed and updated? If the source folder is renamed, one has to delete and add new configuration to set it up again. Is the source and target getting saved in some xml or plist file where it can be edited? Can these details appear in environment variables to easily update (as done in I Sheet You Not workflow by Dean)? Link to comment
Acidham Posted Wednesday at 12:32 PM Author Share Posted Wednesday at 12:32 PM I added the ability to let the WF create src, target folders when not available. https://github.com/Acidham/rsync-folders/releases/tag/v1.6.5 Is it possible to add “Update” option where source path can be reviewed and updated? If the source folder is renamed, one has to delete and add new configuration to set it up again. Is the source and target getting saved in some xml or plist file where it can be edited? Can these details appear in environment variables to easily update (as done in I Sheet You Not workflow by Dean)? I am not planning to implement that..too much work given the value getting out of it. Re-Creating the rsync set is not a big deal in case folders were deleted. Link to comment
TomBenz Posted Wednesday at 12:53 PM Share Posted Wednesday at 12:53 PM 19 minutes ago, Acidham said: I added the ability to let the WF create src, target folders when not available. https://github.com/Acidham/rsync-folders/releases/tag/v1.6.5 I am not planning to implement that..too much work given the value getting out of it. Re-Creating the rsync set is not a big deal in case folders were deleted. For future backlogs if any thanks. If you can explain where these are stored, I can edit and address these Link to comment
TomBenz Posted Wednesday at 01:10 PM Share Posted Wednesday at 01:10 PM 33 minutes ago, Acidham said: I added the ability to let the WF create src, target folders when not available. https://github.com/Acidham/rsync-folders/releases/tag/v1.6.5 I am not planning to implement that..too much work given the value getting out of it. Re-Creating the rsync set is not a big deal in case folders were deleted. It is done differently and I will have to figure out how to use it. 1. If src folder is \ABC and target folder is defined as \rsync backup via search (the current configurations requires user to define full path for target?) then it creates \rsync backup\ABC folder and then copies files 2. If src folder is \ABC and target folder is defined as \rsync backup\ABC i.e folder name matches then it copies the files directly Anyway, I can live with workaround if this is getting complex and specific requirement. The log file is a great addition. thanks a lot for it. regards, Link to comment
Acidham Posted Wednesday at 01:21 PM Author Share Posted Wednesday at 01:21 PM It is only available in “Add” not Search. Search require existing folders by nature You can add ~/ABC or absolute path. The config.json is stored in Workflow Data directory under Application Support/Alfred Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now