Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-18 | add SPDX-License-Identifier to source files | Ryo Nakamura | |
2023-11-25 | add -P, equivalent to -p for just compatibility | Ryo Nakamura | |
and add a test case for -p and -P | |||
2023-11-25 | add -I interval option | Ryo Nakamura | |
-I INTERVAL option inserts sleep for interval (seconds) between SSH connection attempts (issue #7). | |||
2023-11-01 | fix parsing user@host:path. | Ryo Nakamura | |
This commit fixes issue #6. Now mscp command correctly parses [x::x] IPv6 address notation in hostname. | |||
2023-11-01 | main: adopt rolling average of recent eight bps values to calculate ETA | Ryo Nakamura | |
2023-11-01 | main: call only mscp_stop() when receives sigint | Ryo Nakamura | |
2023-11-01 | write total transferred bytes and number of files | Ryo Nakamura | |
at the end of output when serverity is notice. | |||
2023-11-01 | print 1st decimal point in the progress bar | Ryo Nakamura | |
2023-11-01 | add -g option to specify TCP cc algorithm | Ryo Nakamura | |
This commit introduce SSH_OPTIONS_CCALGO option to the libssh patch and add -g CONGESTION option to mscp. | |||
2023-08-04 | fix usage: "none" is not supported for -F | Ryo Nakamura | |
2023-08-04 | introduce git-based versioning | Ryo Nakamura | |
MSCP_BUILD_VERSION (`git describe --tags --dirty --match "v*"`) is passed through include/mscp_version.h.in and cmake. When git is failed, use VERSION file instead (for building from source tar balls that excludes .git). | |||
2023-08-04 | add -F ssh_config option | Ryo Nakamura | |
2023-05-07 | mscp: maintain mscp_thread structs in list | Ryo Nakamura | |
Instead of m->threads array, struct mscp_thread instanes are maintained in m->thread_list. This enables stable counter access via mscp_get_stats(). | |||
2023-04-05 | main: add a white space to the elapsed time output | Ryo Nakamura | |
It adjusts the position of XX:XX in elapsed timeou output. | |||
2023-04-05 | main: print elapsed time instead ETA at the end | Ryo Nakamura | |
2023-03-15 | rename mscp_prepare to mscp_scan | Ryo Nakamura | |
2023-03-15 | mscp: add -u max_startups option. | Ryo Nakamura | |
pymscp also accepts keyword 'max_startups' (int). | |||
2023-03-15 | cleanup message print functions | Ryo Nakamura | |
2023-03-13 | mscp_prepare() scans source paths in a thread. | Ryo Nakamura | |
This commit runs mscp_prepare() in a pthread. mscp copy threads run aysnchronously with mscp_prepare(). So, when mscp_prepare() has not finished yet (due to too many source files), we can start to copy files. | |||
2023-03-11 | move direction from mscp_opts to mscp_init argument | Ryo Nakamura | |
2023-03-10 | fix uninitialized dst_path_is_dir bool | Ryo Nakamura | |
2023-03-04 | fix dryrun handling on main.c | Ryo Nakamura | |
2023-03-04 | remove sigalrm. integrate print messages and progress bar | Ryo Nakamura | |
2023-03-04 | tiny fix for clang warning | Ryo Nakamura | |
2023-03-04 | use setitimer instead of alarm, and print message. | Ryo Nakamura | |
print_stat now prints messages per interval. ToDo: - realtime message printing - use timer_create instead of setitimer (mscOS has different one) | |||
2023-03-04 | compilable on ubuntu | Ryo Nakamura | |
2023-03-04 | remove pprint, use message (mpr_*) instead. | Ryo Nakamura | |
ToDo: main should use pipe to receive messages from libmscp. | |||
2023-03-03 | implementing messaging. | Ryo Nakamura | |
ToDo: remove pprint. mscp should use mpr_* functions, and main.c should use just fprintf(stdout, "\r\033[K" fmt, ...) for printing progress bar. | |||
2023-03-03 | add message.h and message.c, mscp_set|get_error() | Ryo Nakamura | |
Instead of pr_err(), libmscp uses mscp_set_error() and applications use mscp_get_errror() to get error message. | |||
2023-03-03 | tiny cleanup | Ryo Nakamura | |
2023-03-03 | add mscp_get_stats | Ryo Nakamura | |
move progress bar-related functions from mscp.c to main.c. | |||
2023-03-03 | add mscp_ssh_opts and change -C optarg | Ryo Nakamura | |
2023-02-26 | tiny fix on comment | Ryo Nakamura | |
2023-02-26 | now mscp links libmscp | Ryo Nakamura | |
2023-02-16 | add -r option (but no effect) | Ryo Nakamura | |
2023-02-16 | add \n at the final output | Ryo Nakamura | |
2022-12-11 | set default nr_threads to floor(log(cores) * 2) + 1) | Ryo Nakamura | |
This change prevents mscp from establishing too many ssh connections on many-core machines in default. | |||
2022-12-11 | use pthread_cleanup to acquire and release lock | Ryo Nakamura | |
In chunk_prepare(), if multiple threads wait for acquiring f->lock, and then pthread_cancel() is called, the waiting threads are never canceled because pthread_mutex_lock() is not a cancellation point. So, use pthread_cleanup_push/pop to release the lock. | |||
2022-12-08 | set default NR_AHEAD to 32 | Ryo Nakamura | |
2022-12-06 | fix final progress output | Ryo Nakamura | |
2022-12-05 | reuse ctrl sftp session for the first copy thread | Ryo Nakamura | |
2022-12-04 | set TCP_NODELAY by default and introduce -N option to disable it | Ryo Nakamura | |
2022-12-03 | remove unused code and introduce -b buf_sz option | Ryo Nakamura | |
This commit removes ifdef ASYNC_WRITE. So, mscp always depends on the patched libssh. | |||
2022-12-02 | little cleanup | Ryo Nakamura | |
2022-12-02 | add -M hmac option | Ryo Nakamura | |
2022-11-28 | use sigalrm for printing progress bar | Ryo Nakamura | |
2022-11-27 | add ETA to progress print | Ryo Nakamura | |
2022-11-27 | skip sftp_free() inappropriately | Ryo Nakamura | |
2022-11-26 | fix duplicate error message on ssh auth failed. | Ryo Nakamura | |
and fix the final \n with -q | |||
2022-11-18 | fix when copy multiple sources and various tiny fixes | Ryo Nakamura | |
* when copying multiple sources, target must be directory * add multi-src copy test and parametrize src/dst prefixes * cleanup REAMDE (s/sessions/connections/g) * make error output in copy functions simple |