xargs

ndërtuar dhe ekzekutuar linjat komanduese të dhëna standarde

kopje
34
0
xargs -I '{}' mv dir1/'{}' dir2/'{}'

8 vite, 7 muaj ago john2 0 | detajet |

kopje
12
0
cut -d: -f1 < /etc/passwd | sort | xargs echo

burim | detajet |

kopje
5
0
find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f

burim | detajet |

kopje
10
0
find . -name "*.foo" -print0 | xargs -0 grep bar

8 vite, 7 muaj ago john2 0 | detajet |

kopje
6
0
find /tmp -name core -type f -print | xargs /bin/rm -f

burim | detajet |

kopje
6
0
find /etc -name "*.conf" | xargs ls –l

8 vite, 7 muaj ago john2 0 | detajet |

kopje
11
0
echo 1 2 3 4 | xargs echo

8 vite, 7 muaj ago john2 0 | detajet |

kopje
5
0
find /path -type f -print0 | xargs -0 rm

8 vite, 7 muaj ago john2 0 | detajet |

kopje
4
0
find . -maxdepth 1 -type d -print | xargs echo Directories:

8 vite, 7 muaj ago john2 0 | detajet |

kopje
3
0
somecommand | xargs -s 50000 echo | xargs -I '{}' -s 100000 rm '{}'

burim | detajet |

kopje
3
0
xargs sh -c 'emacs "$@" < /dev/tty' emacs

burim | detajet |

kopje
4
0
cat urls.txt | xargs wget –c

8 vite, 7 muaj ago john2 0 | detajet |