Skip to content

Commit

Permalink
refactor(rake): files task
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Jan 17, 2025
1 parent 61735c8 commit cda4314
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/files.rake
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ namespace :backup do
}

flag = ' -P' if args[:progress]
filter = ' --filter-from ~/.config/rclone/filter_list.txt'

dirs.each do |local, remote|
run %( /opt/homebrew/bin/rclone sync ~/#{local} #{remote}#{flag} --filter-from ~/.config/rclone/filter_list.txt )
run %( /opt/homebrew/bin/rclone sync ~/#{local} #{remote}#{flag}#{filter} )
end
end
end
Expand Down

0 comments on commit cda4314

Please sign in to comment.