I have ifc1410-ioxos-161103 in /export/nfsroots/, and would like to copy the entire dir in the different name.


$ mkdir ifc1410-ioxos-161103-rules-test


$ cd ifc1410-ioxos-161103


$ sudo -E tar cf - . | (cd /export/nfsroots/ifc1410-ioxos-161103-rules-test/ && tar xBf -)


Reference   http://www.linuxdevcenter.com/pub/a/linux/lpt/18_16.html

저작자 표시 비영리 변경 금지
신고
posted by citadel

As described in https://www.raspberrypi.org/documentation/installation/installing-images/linux.md, dd can be used for "image copying on a MicroSD". However, in the case where dd version is old, it would be good to use "pv" to check its status as follows:



pv -tpre 2017-03-02-raspbian-jessie.img | dd bs=4M of=/dev/sdb


저작자 표시 비영리 변경 금지
신고
posted by citadel



pv -tpre CentOS-7-x86_64-DVD-1611.iso | dd of=/dev/sdg conv=notrunc,noerror



If pv doesn't exist in a system, please install it via a package manager

저작자 표시 비영리 변경 금지
신고

'Computer > linux' 카테고리의 다른 글

Raspberry Pi Image copy in Linux  (0) 2017.03.10
Bootable Linux USB from iso  (0) 2017.01.11
[git] when the location of a submodule is changed  (0) 2016.12.30
command line to set the default pdf application  (0) 2016.08.16
posted by citadel