Switch source with destination button should preserve intuitive paths
Hello, Thanks for the suggestion. I think it's an additional feature: I won't replace the current one as it's been like that for almost 20 years and it has its uses. Cheers!
Don't worry: I don't remember how I used to do it years ago 🤣 Maybe someone else recalls? Anyway, having the command line passed through a shell for expansion is on my todo list. I just need to make sure there are no possible security issues in the feature.
Dear Clifford, The reason why running rsync from a shell works is because it's the shell itself expanding the variables. Normally, grsync runs rsync without passing through a shell, that's why there's no expansion in that case. I'm planning to add a session checkbox to "pass command through a shell" for that reason; meanwhile, you can do the same by prepending the command with "sh -c", or something like that. Have a nice day! On Wed, 31 Dec 2025 at 23:52, Clifford Banes cliffordbanes@users.sourceforge.net...
Hi Clifford, The reason why running rsync from a shell works is because it's the shell itself expanding the variables. Normally, grsync runs rsync without passing through a shell, that's why there's no expansion in that case. I'm planning to add a session checkbox to "pass command through a shell" for that reason; meanwhile, you can do the same by prepending the command with "sh -c", or something like that. Have a nice day!
Please support the XDG basedir specification
Hello, It should already be like that: grsync_dir = g_strconcat(g_get_user_config_dir(), "/grsync", NULL); if (!g_file_test(grsync_dir, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) { g_free(grsync_dir); grsync_dir = g_strconcat(g_get_home_dir(), "/.grsync", NULL); if (!g_file_test(grsync_dir, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) { g_free(grsync_dir); grsync_dir = g_strconcat(g_get_user_config_dir(), "/grsync", NULL); } } i.e. it tries to load from .config/grsync, if it doesn't find it it tries...
Rsync output box: make maximized