Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 487 Bytes

File metadata and controls

27 lines (15 loc) · 487 Bytes

command note

find

find . -type l -print | perl -nle '-e || print'

empty file
cat /dev/null >file 

or

: >file  # this does not fork a new process, since ":" is a builtin.
mv dir
(cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xpvf -)
# Move entire file tree from one directory to another
# [courtesy Alan Cox <a.cox@swansea.ac.uk>, with a minor change]

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 7:

=over without closing =back