similar to: xargs with max each line / argument

Displaying 20 results from an estimated 4000 matches similar to: "xargs with max each line / argument"

2011 Mar 14
2
NFS still serving old directory after rename
Howdy, I have renamed a directory on NFS ver 3 server and then created a new directory again with the same name. # mv dir dir-hosed # mkdir dir The directory is auto-mounted on client side. I had unmounted directories on client side before making above changes. Now when I try to mount back 'dir', I still see old files and not new empty dir. Am I missing something here in the NFS config?
2011 Mar 31
2
figuring out LogVol details for mount
Hi, I need to mount a LVM in rescue mode to create a new initrd image. I am not sure how do I fond out which LogVol is to be mounted. How do I find it out? In most of the configs I have used LogVol00 with ext3 filesystem which contains OS install. This particular system is not installed by me and I am not sure how do I find it out. I did try 'lvm lvs' command, but probably that's not
2011 Feb 24
4
ls returns file doesn't exist, find finds it??
Howdy, I am getting some errors with find and ls command - such that find is able to see a file whereas ls says the file doesn't exist. Initially I was trying find and ls together as: # find ./ -type f -mtime +15 | xargs ls Similar behavior is seen even when I execute both commands separately. Any thoughts on what might be wrong here? -- thanks, neubyr
2011 Apr 01
1
logical volume - device present without table
I am trying to mount a logical volume for creating new initrd image. The lvs command is showing a logical volume with 'd' attribute - device present without tables. It's getting listed under /dev/mapper but not under /dev/VolGroup00. Any help on what might be wrong here? -- thanks, neuby.r
2011 Mar 10
1
mkswap - unable to relabel, operation not supported
Hi, I am getting following error on creating a swap fs. CentOS 5.5 {{{ mkswap: unable to relabel /srv/cloud/one/var/25/images/disk.1 to system_u:object_r:swapfile_t: Operation not supported }}} The selinux is configured in permissive mode. Any clues on what might be wrong here and how to fix it? {{{ # /bin/dd if=/dev/zero of=/srv/cloud/one/var/25/images/disk.1 bs=1 count=1 seek=512M # sudo
2017 Jul 06
3
[Bug 2739] New: ssh-add no longer works with xargs
https://bugzilla.mindrot.org/show_bug.cgi?id=2739 Bug ID: 2739 Summary: ssh-add no longer works with xargs Product: Portable OpenSSH Version: 7.4p1 Hardware: amd64 OS: Mac OS X Status: NEW Severity: minor Priority: P5 Component: ssh-add Assignee: unassigned-bugs at mindrot.org
2005 Feb 08
6
help with xargs and mv
I am trying to move a group of sendmail queue files into a special area and am developing s script to assist. The manual steps are: # Identify which messages to move mailq -qR<domain> > file1 # Select only lines with message ID strings grep '^[[:alpha:]][[:alnum:]]\{13\}' file1 > file2 # extract only the messages ID cut -b -14 file2 > file3 # prepend '*' to
2006 May 19
1
Strange error when testing layered web service
Hi all, Ruby 1.8.4 Rails 1.1.2 1) Error: test_find_hardware_by_id(HardwareControllerApiTest): ArgumentError: illegal refid http://test.host/ c:/ruby/lib/ruby/1.8/soap/baseData.rb:166:in `decode'' c:/ruby/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:153:in `decode_tag'' c:/ruby/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag''
2011 May 06
1
ruby 1.8.7 from source
I need to install ruby 1.8.7 on CentOS 5.5 x86_64 system. I am planning to install it from source, but I am not sure whether this will install rdoc, ri and ruby-devel as well. I couldn't figure it out from 'configure --help' command. Appreciate any help regarding this issue. Also, any other installation options or repository suggestions are welcome. thanks, neuby.r
2006 Oct 31
0
6323628 /usr/xpg6/bin/xargs will coredump if given -n or -s flags with no argument.
Author: ceastha Repository: /hg/zfs-crypto/gate Revision: 4fa98e79aa8cacc3ee6e3642cf306228cc9edcd1 Log message: 6323628 /usr/xpg6/bin/xargs will coredump if given -n or -s flags with no argument. Files: update: usr/src/cmd/xargs/xargs.c
2009 Jun 25
2
Bad Form?
Hi, This is my first post, I wanted to ask a quick question about "Bad Form" -- rather, am I doing something with Mechanise I shouldn''t be doing? Here''s the long and short of it - I am using Mechanize with Cucumber and RSpec to test a *ahem* Perl XML web service.. talk about technology soup, but I have it working quite well. I have an example project on GitHub that
2006 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and turn it into an associative array? Basically it would take something like this: <body> <item> <id>1</id> <name>Bob</name> </item> <item> <id>2</id> <name>John</name> </item> </body> And turn it into something like this: {
2009 Oct 05
2
gnu --target-dir, how to fake with rsync?
Is this in rsync and I just can't find it, or if not, is there a way to fake this OR, third possibility, is anyone working to add it? For those who've never used this option - for the GNU cp & mv type commands they have the --target-dir="dir" option. It lets you put the destination directory as the first argument to cp and mv instead of the last argument. They added the
2018 Apr 13
1
backup-script/backup_samba4
Hi! i am testing Louis van Belle backup script. it works quite well. Thank you for sharing this! https://github.com/thctlo/samba4/blob/master/backup-script/backup_samba4 but i think there is an error in the KEEP_DAYS code as the string '\-$KEEP_DAY1\-|\-$KEEP_DAY2-' is not interpolated so the egrep does exclude anything from rm call. So no files older than $DAYS are kept... # Remove
2001 Oct 17
3
Again: bugs in contrib/solaris/opensshd.in and buildpkg.sh
(Shame on me: wrong filename in last posting, now here are correct diffs) in contrib/solaris/ (openssh-SNAP-20011017.tar.gz) 1) buildpkg.sh makes wrong link for /etc/init.d/opensshd 2) /etc/init.d/opensshd has not-working killproc here my version tested on Solaris 2.4 and 8 (no pgrep with solaris 2.4, XARGS was undefined, simpler syntax) J?rg --- contrib/solaris/buildpkg.sh Fri Oct 12
2002 Jan 18
5
contrib/solaris/opensshd.in patch
This patch adds the seatbelts which _only_ kill parent sshd procs... -RMallory (eg: when you ssh into a machine and pkgadd the new openssh, it will not kill your current (or anyone else's sshd session) onanother_note: the buildpkg.sh could use some exec_prefix functionality... to deal with ./configure --prefix= --exec_prefix=/usr *** bak/opensshd.in Fri Oct 19 13:36:24 2001 ---
2018 Sep 11
2
Re: [PATCH nbdkit 1/4] build: Move list of plugins and filters to the configure script.
On 9/11/18 1:47 PM, Richard W.M. Jones wrote: > It's easier to get it to other places if it starts out in the > configure script. > > Also split the list into language and non-language plugins. > --- > common-rules.mk | 44 ---------------------------------------- > configure.ac | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 53
2011 May 17
5
Feed a list of filenames to vim
There are some googlable ways to feed a list of filenames to vim, but I stumble on weird results. With my filelist, I try to do cat list | xargs vim ...to edit the files listed in the file "list". Here's what happens: [root at lasso2 tempdir]# ls -l total 8 -rw-r--r-- 1 root root 0 May 17 18:28 a -rw-r--r-- 1 root root 0 May 17 18:28 b -rw-r--r-- 1 root root 3 May 17
2009 Aug 19
2
replacing permissions on uploaded windows files
Hello, I've got a CentOS box and users are putting Windows long files on it, files with " " and " - " in their filenames. I'm trying to adjust the permissions as well as user and group membership and i'd like the changes to be sticky. On the tld i've set permissions of 2755 and am trying to batch convert the files and subfolders in it. I've done this: find
2006 Oct 23
2
patch for rake install
The attached patch fixes the task for non-gem installation. It adds installation of the version and class ruby files, and puts things in the right place (wx.rb was previously going into sitearchdir). It also adds an uninstall task. I plan to overhaul the rake system at some point soon as I think it could be declared more simply, and to avoid launching a new process for each of the cpp