Skip to content

Xin9912/SuperCopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SuperCopy

Description

It could copy file in ASCII/OCTET format between windows and Linux. It will perform by reading/writing one and one packet whose size is BLKSIZE(defined macro). BLKSIZE could be changed to other values, default is 1024 bytes.

Build

linux and gcc is necessary.
make -j[n]
The target will be placed in the out directory.

Usage

Usage: ./spcp srcfile dstfile -t/o[t/o] [-f]
       srcfile:source filename
       dstfile:destination filename
       -t/o:  the mode you will read the source file. -t is for ASCII while -o is for OCTET
       [t/o]:  the mode you will write the destination file. -t is for ASCII while -o is for OCTET. o is default
       [-f]: will overwrite the existing destination file
   eg: ./spcp file.c file1.c -tt [-f]

About

It could copy ASCII/OCTET file in win/linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published