安全移动或复制文件,智能处理文件名冲突
Project description
Safe Move Tool
A Python tool for safely moving or copying files with intelligent conflict resolution.
Features
- Safely move or copy files between directories
- Intelligent handling of filename conflicts
- Interactive prompts for conflict resolution
- Preserves file metadata when possible
Installation
pip install .
Usage
safemove [source] [destination]
Options:
-xor--move: Move files (default mode)-cor--copy: Copy files instead of moving them-sor--strict: Enable strict mode (byte-by-byte file comparison)
Example
# Move a file
safemove -x ./file.txt /home/user/documents/
# Copy a file
safemove -c ./file.txt /home/user/documents/
# Move with strict mode
safemove -x -s ./file.txt /home/user/documents/
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
safemove_tool-1.0.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file safemove_tool-1.0.0.tar.gz.
File metadata
- Download URL: safemove_tool-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96b5231202bd8083e9bc11b8e97104fcbf75d3a339c7a8222f2ecdf649dde631
|
|
| MD5 |
0ce53a61145fc9a2d06683d40a64a86d
|
|
| BLAKE2b-256 |
b9ff37764fb82ac3f3a1cc03c1437ba503441c1c2a839c3e31e2a601cb677336
|
File details
Details for the file safemove_tool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: safemove_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82eb3a66b746367e79617ac948f24cb0ec06baac5fbd3597eab73af4cbbe5f84
|
|
| MD5 |
269607597adc70f7568b195146ad5eca
|
|
| BLAKE2b-256 |
dd6cb729038e1f288b934f87e6e70ab171352af41a37b079f6bb97058e964faf
|