- Notifications
You must be signed in to change notification settings - Fork1
The macOS API for creating copy on write clones of files
License
NotificationsYou must be signed in to change notification settings
sverrejoh/rclonefile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The macOS API for creating copy on write clones of files.
This is a small wrapper around theclonefile API on macOS for cloningfiles using the APFS file system.
import{cloneFile}from"rclonefile";awaitcloneFile("source/mario.txt","target/mario-clone-txt");
import{cloneFile}from"rclonefile";cloneFile("source/mario.txt","target/mario-clone-txt").then(()=>{// Success})
import{cloneFileSync}from"rclonefile";cloneFileSync("source/mario.txt","target/mario-clone-txt");
- rclonefile-cli - CLI for this module
- clonefile(2) - Man page for system API
About
The macOS API for creating copy on write clones of files
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.