Commit Graph

85 Commits

Author SHA1 Message Date
Navneet Aman 32275808ba replace wget with curl in install.sh 2022-04-12 21:38:33 +05:30
Arun a047797e92 Merge pull request #17 from SlrG/fixmovebars
fix progressbars not showing when moving files and global progress
2022-04-04 02:10:47 +05:30
Michael Wehr dff0994e1f fix progressbars not showing when moving files and global progress 2022-04-03 21:05:19 +02:00
Arun 096b047523 Merge pull request #16 from Gelma/fix
Fix mistake in build script
2022-04-03 01:57:27 +05:30
Andrea Gelmini 74254ddf1c Fix mistake in build script
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-03-28 22:07:38 +02:00
Arun Prakash Jana c878eab0f8 Use command strings 2022-03-27 07:00:06 +05:30
Arun f231f05455 Merge pull request #14 from SlrG/fixandimprovements
Fix and Improvements
2022-03-27 05:39:37 +05:30
Michael Wehr bb5b892ace revert some things for review purposes 2022-02-14 21:15:28 +01:00
Michael Wehr f854b119e9 backport changes to 8.32 patch 2022-02-14 21:11:16 +01:00
Michael Wehr dfb9623dcb fix NULL in middle of spawn and typecast 2022-02-14 21:07:00 +01:00
Michael Wehr 7fe882ec46 backport changes to 8.32 patch 2022-02-13 16:15:53 +01:00
Michael Wehr b62cfd957e fix elapsed message showing hours and minutes when zero 2022-02-13 16:13:00 +01:00
Michael Wehr 2532fc3ca3 switch to fork/exec/dup2 instead of popen
To get rid of the problems from having to escape certain special chars
when using popen to call the find and du system commands, on suggestion
of N-R-K this switches popen with a fork/exec/dup2 based approach.
See https://github.com/jarun/advcpmv/pull/14#issuecomment-1035880454 and
https://github.com/jarun/advcpmv/pull/14#issuecomment-1035892465.
2022-02-13 15:50:06 +01:00
Arun 46703ea4f5 Merge pull request #12 from abrahammurciano/master
create install script
2022-02-10 23:42:46 +05:30
Michael Wehr fb08e1aba6 backport changes to 8.32 patch 2022-01-12 20:11:02 +01:00
Michael Wehr 8a8af288bb fix output of ftime instead of ttime 2022-01-11 23:28:10 +01:00
Michael Wehr 30b6aff569 refactor format_time function and calls to fix memory leak 2022-01-11 22:11:46 +01:00
Michael Wehr 1e12a7c529 add remaining time for file 2022-01-11 20:54:12 +01:00
Michael Wehr 53a449f84c move total remaining time to global bar and fix format_time 2022-01-10 23:39:30 +01:00
Michael Wehr b79170e69b show total number of files to copy 2022-01-09 21:18:46 +01:00
Michael Wehr ae89bfdb24 use function to also calculate and format elapsed time 2022-01-09 21:15:26 +01:00
Michael Wehr d09e9fb8b6 backport changes to 8.32 patch 2022-01-04 22:00:35 +01:00
Michael Wehr d8013b9f35 add missed comments to identify all progress mod changes 2022-01-04 21:58:45 +01:00
Michael Wehr 2f468f6896 show elapsed time in good-bye message as xh xm xs instead seconds only 2022-01-04 21:11:43 +01:00
Abraham Murciano 60daf2a133 clarified how to choose version 2021-12-27 11:25:20 +02:00
Abraham Murciano a054d7d892 made installation command one line 2021-12-27 11:22:56 +02:00
Abraham Murciano 72b2b58117 simplified language 2021-12-27 11:12:02 +02:00
Abraham Murciano ac2cac8d4e removed bash dependancy 2021-12-27 11:09:08 +02:00
Arun 54f1b797db Merge pull request #13 from SlrG/master
fix compiler warning for 0.9 patch
2021-12-26 22:58:19 +05:30
Michael Wehr 801478c31a backport changes to 8.32 patch 2021-12-25 11:28:22 +01:00
Michael Wehr cf51b9bd8b switch back to using calloc instead of malloc
using malloc generated errors when memory leak checking with valgrind
because malloc creates uninitialized space
2021-12-25 11:16:03 +01:00
Michael Wehr c8149fab75 show global progress bar in some cases where not shown before
when using wildcards:
cp -r -g ./src/normal/* ./sinkhole/
when giving multiple source files:
cp -r -g ./src/normal/{testfile0,testfile2}
or
cp -g -t ../../sinkhole/ testfile0 testfile2
2021-12-25 11:05:23 +01:00
Michael Wehr 2fc918bd98 backport the grave accent fix to the 8.32 patch 2021-12-24 20:17:02 +01:00
Michael Wehr a620f86965 escape grave accents, they break the double quoted system commands 2021-12-24 20:11:32 +01:00
Michael Wehr 04bae585e6 backport changes to 8.32 patch 2021-12-23 19:35:38 +01:00
Michael Wehr 3ac56d553f show global progressbar when moving files in copy mode (between devices) 2021-12-23 19:21:33 +01:00
Michael Wehr e529e310ea fix casing of output, to better match unmodded messages 2021-12-23 18:55:23 +01:00
Michael Wehr a1cc785674 add more comments to identify all progress mod changes 2021-12-23 12:00:26 +01:00
Michael Wehr aa4d645a11 move comment to enclose progess struct 2021-12-23 09:07:53 +01:00
Michael Wehr 24ad5c292c when moving display one good-bye message and show what was moved 2021-12-22 23:43:26 +01:00
Michael Wehr edec49ec6f escape double quotes, so system commands don't break anymore 2021-12-22 21:16:20 +01:00
Michael Wehr 7e2df2e0b7 harmonize string handling, so only double quotes break system commands 2021-12-22 14:19:51 +01:00
Michael Wehr c9d7d6779f change comment positioning 2021-12-22 14:09:12 +01:00
Michael Wehr 3b2fdc6f42 fix comment casing 2021-12-22 13:57:59 +01:00
Michael Wehr d337f35f5b fix whitespace 2021-12-22 13:48:56 +01:00
Michael Wehr 9d614d1883 fix compiler warning for 0.9 patch 2021-12-22 11:57:51 +01:00
Abraham Murciano 4989cfaf78 set -e on install script
make the script exit if any command fails
2021-12-21 16:50:13 +02:00
Abraham Murciano 4e9c8bc2b4 documented installing other versions 2021-12-21 14:30:54 +00:00
Abraham Murciano 17957ce329 simplified directories 2021-12-21 14:15:48 +00:00
Abraham Murciano 4839af6e65 create install script 2021-12-21 13:47:10 +00:00