Sponsored Content
Full Discussion: problem with "xargs rm -i"
Top Forums Shell Programming and Scripting problem with "xargs rm -i" Post 302152170 by invinzin21 on Wednesday 19th of December 2007 12:36:26 AM
Old 12-19-2007
it wont work because it is interactive it will ask you if you really want to delete it,then prompt will appear.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

3. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

4. Shell Programming and Scripting

Pipe to "xargs rm" : filename with spaces

Hi all, Am piping a list of files to "xargs rm -v". The files may have spaces in their names. Please advise how do i deal with it... :confused: Thanks. (3 Replies)
Discussion started by: coolatt
3 Replies

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

6. UNIX for Dummies Questions & Answers

find . -name "*.*" | xargs grep "help"

Hi all, I am a unix noob. Need some basic help. I have tried using google, but not able to figure this out. Here are the scenarios: 1. How do I find a directory with a particular name, say "Merlin" in the entire file system? I tried : find / -type d -name "dir_name" The problem is I'm... (3 Replies)
Discussion started by: neil.k
3 Replies

7. Shell Programming and Scripting

Difference b/w xargs and "-exec" in Find

Hi, What is the difference between the following commands find . -type f -exec grep 'abc' {} \; and find . -type f | xargs grep 'abc' Appreciate your help. (2 Replies)
Discussion started by: bobbygsk
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. Shell Programming and Scripting

find files in sub dir with tag & add "." at the beginning [tag -f "Note" . | xargs -0 {} mv {} .{}]

I am trying find files in sub dir with certain tags using tag command, and add the period to the beginning. I can't use chflags hidden {} cause it doesn't add period to the beginning of the string for web purpose. So far with my knowledge, I only know mdfind or tag can be used to search files with... (6 Replies)
Discussion started by: Nexeu
6 Replies
BACKUP_INTERACTIVE(8)					       AFS Command Reference					     BACKUP_INTERACTIVE(8)

NAME
       backup_interactive - Enters interactive mode

SYNOPSIS
       backup [interactive] [-localauth] [-cell <cell name>]
	   [-help]

       backup [i] [-l] [-c <cell name>] [-h]

DESCRIPTION
       The backup interactive initiates an interactive session for issuing backup commands. As indicated in the syntax statement, the operation
       code (interactive) is optional.

       Several features of interactive mode distinguish it from regular mode:

       o   In interactive mode, the "backup"> prompt replaces the system (shell) prompt. The operator enters only a command's operation code
	   (omitting the command suite name, backup).

       o   If the -localauth flag or the -cell argument is included on the backup interactive command, the settings apply to all commands issued
	   during that interactive session. The issuer does not need to type them on every command. Another consequence is that the flag and
	   argument do not appear in the syntax statement generated by the help subcommand or -help flag on an individual command issued at the
	   "backup"> prompt.

       o   The backup jobs and backup kill commands are available only in interactive mode. It is not possible to track and terminate backup
	   operations as cleanly in non-interactive mode.

       o   It is not necessary to enclose strings that include metacharacters in double quotes or other delimiters.

       o   The backup command interpreter establishes a connection to the Backup Server, Volume Server and Volume Location (VL) Server processes
	   as it enters interactive mode, and uses the same connection for all commands during the session. Execution time can therefore be faster
	   than in non-interactive mode, in which the command interpreter must establish a new connection for each command.

       To exit an interactive session, issue the backup quit command.

OPTIONS
       -localauth
	   Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
	   the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
	   details, see backup(8).

       -cell <cell name>
	   Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).

       -help
	   Prints the online help for this command. All other valid options are ignored.

EXAMPLES
       The following example shows how the -localauth flag and -cell argument do not appear when the help dump subcommand is issued in interactive
       mode.

	  % backup
	  backup> help dump
	  dump: start dump
	  Usage: dump [-volumeset <volume set name>] [-dump <dump level name>]
	  [-portoffset <TC port offset>] [-at <Date/time to start dump>+]
	  [-append ] [-n ] [-file <load file>] [-help ]

PRIVILEGE REQUIRED
       None. However, backup commands that require privilege in regular mode still require it in interactive mode.

SEE ALSO
       backup(8), backup_jobs(8), backup_kill(8), backup_quit(8), butc(8)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26						     BACKUP_INTERACTIVE(8)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy