summaryrefslogtreecommitdiff
path: root/man/es/man1
diff options
context:
space:
mode:
Diffstat (limited to 'man/es/man1')
-rw-r--r--man/es/man1/dos2unix.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/es/man1/dos2unix.pod b/man/es/man1/dos2unix.pod
index 3896bb2..bbf14b6 100644
--- a/man/es/man1/dos2unix.pod
+++ b/man/es/man1/dos2unix.pod
@@ -739,6 +739,17 @@ type:
find . -name '*.txt' -print0 |xargs -0 dos2unix
+The find(1) option C<-print0> and corresponding xargs(1) option C<-0> are
+needed when there are files with spaces or quotes in the name. Otherwise
+these options can be omitted. Another option is to use find(1) with the
+C<-exec> option:
+
+ find . -name '*.txt' -exec dos2unix {} \;
+
+In a Windows Command Prompt the following command can be used:
+
+ for /R %G in (*.txt) do dos2unix "%G"
+
PowerShell users can use the following command in Windows PowerShell:
get-childitem -path . -filter '*.txt' -recurse | foreach-object {dos2unix $_.Fullname}