{"id":3683,"date":"2022-12-20T17:19:45","date_gmt":"2022-12-20T20:19:45","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/runparts-man8\/"},"modified":"2022-12-20T17:19:45","modified_gmt":"2022-12-20T20:19:45","slug":"runparts-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/runparts-man8\/","title":{"rendered":"RUN&minus;PARTS (man8)"},"content":{"rendered":"<h1 align=\"center\">RUN\u2212PARTS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">run\u2212parts \u2212 run scripts or programs in a directory<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>run\u2212parts<\/b> [\u2212\u2212test] [\u2212\u2212verbose] [\u2212\u2212report] [\u2212\u2212lsbsysinit] [\u2212\u2212regex=RE] [\u2212\u2212umask=umask] [\u2212\u2212arg=argument] [\u2212\u2212exit\u2212on\u2212error] [\u2212\u2212help] [\u2212\u2212version] [\u2212\u2212list] [\u2212\u2212reverse] [\u2212\u2212] DIRECTORY<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>run\u2212parts<\/b> \u2212V<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>run\u2212parts<\/b> runs all the executable files named within constraints described below, found in directory <i>directory<\/i>. Other files and directories are silently ignored.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If neither the \u2212\u2212lsbsysinit option nor the \u2212\u2212regex option is given then the names must consist entirely of ASCII upper- and lower-case letters, ASCII digits, ASCII underscores, and ASCII minus-hyphens.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the \u2212\u2212lsbsysinit option is given, then the names must not end in .rpmsave or .rpmnew, and must belong to one or more of the following namespaces: the LANANA-assigned namespace (^[a\u2212z0\u22129]+$); the LSB hierarchical and reserved namespaces (^_?([a\u2212z0\u22129_.]+\u2212)+[a\u2212z0\u22129]+$); and the Mageia cron script namespace (^[a\u2212zA-Z0\u22129_\u2212][a\u2212zA-Z0\u22129_\u2212.]+$).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If the \u2212\u2212regex option is given, the names must match the custom extended regular expression specified as that option\u2019s argument.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Files are run in the lexical sort order (according to the C\/POSIX locale character collation rules) of their names unless the \u2212\u2212reverse option is given, in which case they are run in the opposite order.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212test<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">print the names of the scripts which would be run, but don\u2019t actually run them.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212\u2212list<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"78%\">\n<p>print the names of the all matching files (not limited to executables), but don\u2019t actually run them. This option cannot be used with &#8211;test.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212v, \u2212\u2212verbose<\/b><\/p>\n<p style=\"margin-left:22%;\">print the name of each script to stderr before running.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212report<\/b><\/p>\n<p style=\"margin-left:22%;\">similar to <b>\u2212\u2212verbose<\/b>, but only prints the name of scripts which produce output. The script\u2019s name is printed to whichever of stdout or stderr the script first produces output on.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212reverse<\/b><\/p>\n<p style=\"margin-left:22%;\">reverse the scripts\u2019 execution order.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212exit\u2212on\u2212error<\/b><\/p>\n<p style=\"margin-left:22%;\">exit as soon as a script returns with a non-zero exit code.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212lsbsysinit<\/b><\/p>\n<p style=\"margin-left:22%;\">use LSB namespaces instead of classical behavior.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212new\u2212session<\/b><\/p>\n<p style=\"margin-left:22%;\">run each script in a separate process session. If you use this option, killing run-parts will not kill the currently running script, it will run until completion.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212\u2212regex=<\/b><i>RE<\/i><\/p>\n<p style=\"margin-left:22%;\">validate filenames against custom extended regular expression <i>RE<\/i>. See the EXAMPLES section for an example.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212u, \u2212\u2212umask=<\/b><i>umask<\/i><\/p>\n<p style=\"margin-left:22%;\">sets the umask to <i>umask<\/i> before running the scripts. <i>umask<\/i> should be specified in octal. By default the umask is set to 022.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212a, \u2212\u2212arg=<\/b><i>argument<\/i><\/p>\n<p style=\"margin-left:22%;\">pass <i>argument<\/i> to the scripts. Use <b>&#8211;arg<\/b> once for each argument you want passed.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212\u2212<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>specifies that this is the end of the options. Any filename after <b>\u2212\u2212<\/b> will be not be interpreted as an option even if it starts with a hyphen.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>\u2212h, \u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">display usage information and exit.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V, \u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">display version and copyright and exit.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Print the names of all files in \/etc that start with \u2018p\u2019 and end with \u2018d\u2019:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">run-parts \u2212\u2212list \u2212\u2212regex &#8216;^p.*d$&#8217; \/etc<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 1994 Ian Jackson.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 1996 Jeff Noxon.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 1996, 1997, 1998 Guy Maor<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Clint Adams<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>run\u2212parts<\/b> is free software; see the GNU General Public License version 2 or later for copying conditions. There is <i>no<\/i> warranty.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  run\u2212parts \u2212 run scripts or programs in a directory <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,795],"class_list":["post-3683","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-run-parts"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3683"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3683\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3683"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3683"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}