Sponsored Content
Operating Systems AIX Need to move files with exclusionary rule Post 302284935 by vgersh99 on Friday 6th of February 2009 02:56:35 PM
Old 02-06-2009
Code:
#!/bin/ksh

for iter in /usr/abc/sys/outb/*
do
   find "${iter}" -type f ! -name '*.LOG' -exec echo mv {} <destDIR> \;
done

 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

move old files

hi I am trying to write shell script that must scan a series of filesystems and find files that have not been accessed for over some number of days and move them to /tmp/old Did anyone write a such a script before? Any help is really appreciated. (26 Replies)
Discussion started by: tjay83
26 Replies

2. Shell Programming and Scripting

How to check files and move the results to differents files?

Hi, I am a newbie to shell scripting. here is my objective: 1)The shell program should take 2 parameters - ie-> DestinationFolder, WebFolder 2)Destination folder contains few files that has to has be verified and deleted. 3)WebFolder is a folder containing a list of master files 4)It... (1 Reply)
Discussion started by: sandhyagupta
1 Replies

3. UNIX for Dummies Questions & Answers

Move same files and issue ls -al command on remaining files

I know I can use an ls -l junk1 command to get a listing of all files in the directory junk1, but I was wondering how I'd go about going through the files in junk1 in a for-in loop and issuing the ls -l command on them one by one. This is what I have so far: for file in $(ls -a $1) do ls... (1 Reply)
Discussion started by: Trinimini
1 Replies

4. Shell Programming and Scripting

Copy files from one folder to another with rule

Hello! Please, help me to find or write this simple bash-script. I have first folder /tmp/work/folder1 with such files: name1.txt name2.txt.1 name2.txt.2 name3.txt name4.txt name4.txt.1 name4.txt.2 name4.txt.3 etc.. I need to copy all files from folder1 to folder... (1 Reply)
Discussion started by: optik77
1 Replies

5. Shell Programming and Scripting

Recursively move directories along with files/specific files

I would like to transfer all files ending with .log from /tmp and to /tmp/archive (using find ) The directory structure looks like :- /tmp a.log b.log c.log /abcd d.log e.log When I tried the following command , it movies all the log files... (8 Replies)
Discussion started by: frintocf
8 Replies

6. Shell Programming and Scripting

Move all files except sys date (today) files in Solaris 10

I want to move all files from one directory to another directory excluding today (sysdate files) on daily basis. file name is in pattern file_2013031801, file_2013031802 etc (2 Replies)
Discussion started by: khattak
2 Replies

7. Shell Programming and Scripting

SBATCH trinity for multiple files and rename/move the output files

Hey guys, I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output) #!/bin/bash -l #SBATCH -p node #SBATCH -A <projectID> #SBATCH -n 16 #SBATCH -t 7-00:00:00 #SBATCH --mem=128GB #SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies

8. Shell Programming and Scripting

Move files with a certain suffix based on how many files are in another folder

Hello, First time poster. I am looking for a way to script or program the process of moving files from one folder to another, automatically, based on the count of files in the destination folder. I was thinking a shell script would work, but am open to the suggestions of the experts... (6 Replies)
Discussion started by: comtech
6 Replies
Gtk2::TextIter(3pm)					User Contributed Perl Documentation				       Gtk2::TextIter(3pm)

NAME
Gtk2::TextIter - wrapper for GtkTextIter HIERARCHY
Glib::Boxed +----Gtk2::TextIter METHODS
textattributes = $iter->get_attributes boolean = $iter->backward_char boolean = $iter->backward_chars ($count) o $count (integer) boolean = $iter->backward_cursor_position boolean = $iter->backward_cursor_positions ($count) o $count (integer) boolean = $iter->backward_find_char ($pred, $user_data=undef, $limit=undef) o $pred (scalar) o $user_data (scalar) o $limit (Gtk2::TextIter or undef) boolean = $iter->backward_line boolean = $iter->backward_lines ($count) o $count (integer) (match_start, match_end) = $iter->backward_search ($str, $flags, $limit=NULL) o $str (string) o $flags (Gtk2::TextSearchFlags) o $limit (Gtk2::TextIter or undef) boolean = $iter->backward_sentence_start boolean = $iter->backward_sentence_starts ($count) o $count (integer) boolean = $iter->backward_to_tag_toggle ($tag) o $tag (Gtk2::TextTag or undef) boolean = $iter->backward_visible_cursor_position Since: gtk+ 2.4 boolean = $iter->backward_visible_cursor_positions ($count) o $count (integer) Since: gtk+ 2.4 boolean = $iter->backward_visible_line Since: gtk+ 2.8 boolean = $iter->backward_visible_lines ($count) o $count (integer) Since: gtk+ 2.8 boolean = $iter->backward_visible_word_start Since: gtk+ 2.4 boolean = $iter->backward_visible_word_starts ($count) o $count (integer) Since: gtk+ 2.4 boolean = $iter->backward_word_start boolean = $iter->backward_word_starts ($count) o $count (integer) boolean = $iter->begins_tag ($tag) o $tag (Gtk2::TextTag or undef) textbuffer = $iter->get_buffer integer = $iter->get_bytes_in_line boolean = $iter->can_insert ($default_editability) o $default_editability (boolean) character = $iter->get_char integer = $iter->get_chars_in_line textchildanchor or undef = $iter->get_child_anchor integer = $lhs->compare ($rhs) o $rhs (Gtk2::TextIter) boolean = $iter->editable ($default_setting) o $default_setting (boolean) boolean = $iter->ends_line boolean = $iter->ends_sentence boolean = $iter->ends_tag ($tag) o $tag (Gtk2::TextTag or undef) boolean = $iter->ends_word boolean = $lhs->equal ($rhs) o $rhs (Gtk2::TextIter) boolean = $iter->forward_char boolean = $iter->forward_chars ($count) o $count (integer) boolean = $iter->forward_cursor_position boolean = $iter->forward_cursor_positions ($count) o $count (integer) boolean = $iter->forward_find_char ($pred, $user_data=undef, $limit=undef) o $pred (scalar) o $user_data (scalar) o $limit (Gtk2::TextIter or undef) boolean = $iter->forward_line boolean = $iter->forward_lines ($count) o $count (integer) (match_start, match_end) = $iter->forward_search ($str, $flags, $limit=NULL) o $str (string) o $flags (Gtk2::TextSearchFlags) o $limit (Gtk2::TextIter or undef) boolean = $iter->forward_sentence_end boolean = $iter->forward_sentence_ends ($count) o $count (integer) $iter->forward_to_end boolean = $iter->forward_to_line_end boolean = $iter->forward_to_tag_toggle ($tag) o $tag (Gtk2::TextTag or undef) boolean = $iter->forward_visible_cursor_position Since: gtk+ 2.4 boolean = $iter->forward_visible_cursor_positions ($count) o $count (integer) Since: gtk+ 2.4 boolean = $iter->forward_visible_line Since: gtk+ 2.8 boolean = $iter->forward_visible_lines ($count) o $count (integer) Since: gtk+ 2.8 boolean = $iter->forward_visible_word_end Since: gtk+ 2.4 boolean = $iter->forward_visible_word_ends ($count) o $count (integer) Since: gtk+ 2.4 boolean = $iter->forward_word_end boolean = $iter->forward_word_ends ($count) o $count (integer) boolean = $iter->has_tag ($tag) o $tag (Gtk2::TextTag) boolean = $iter->in_range ($start, $end) o $start (Gtk2::TextIter) o $end (Gtk2::TextIter) boolean = $iter->inside_sentence boolean = $iter->inside_word boolean = $iter->is_cursor_position boolean = $iter->is_end boolean = $iter->is_start language = $iter->get_language integer = $iter->get_line integer = $iter->get_line_index $iter->set_line_index ($byte_on_line) o $byte_on_line (integer) integer = $iter->get_line_offset $iter->set_line_offset ($char_on_line) o $char_on_line (integer) $iter->set_line ($line_number) o $line_number (integer) list = $iter->get_marks Returns a list of all Gtk2::TextMark at this location. Because marks are not iterable (they don't take up any "space" in the buffer, they are just marks in between iterable locations), multiple marks can exist in the same place. The returned list is not in any meaningful order. integer = $iter->get_offset $iter->set_offset ($char_offset) o $char_offset (integer) $first->order ($second) o $second (Gtk2::TextIter) pixbuf or undef = $iter->get_pixbuf string = $start->get_slice ($end) o $end (Gtk2::TextIter) boolean = $iter->starts_line boolean = $iter->starts_sentence boolean = $iter->starts_word list = $iter->get_tags Returns a list of tags that apply to iter, in ascending order of priority (highest-priority tags are last). string = $start->get_text ($end) o $end (Gtk2::TextIter) list = $iter->get_toggled_tags ($toggled_on) o $toggled_on (boolean) Returns a list of Gtk2::TextTag that are toggled on or off at this point. (If toggled_on is TRUE, the list contains tags that are toggled on.) If a tag is toggled on at iter, then some non-empty range of characters following iter has that tag applied to it. If a tag is toggled off, then some non-empty range following iter does not have the tag applied to it. boolean = $iter->toggles_tag ($tag) o $tag (Gtk2::TextTag or undef) integer = $iter->get_visible_line_index $iter->set_visible_line_index ($byte_on_line) o $byte_on_line (integer) integer = $iter->get_visible_line_offset $iter->set_visible_line_offset ($char_on_line) o $char_on_line (integer) string = $start->get_visible_slice ($end) o $end (Gtk2::TextIter) string = $start->get_visible_text ($end) o $end (Gtk2::TextIter) ENUMS AND FLAGS
flags Gtk2::TextSearchFlags o 'visible-only' / 'GTK_TEXT_SEARCH_VISIBLE_ONLY' o 'text-only' / 'GTK_TEXT_SEARCH_TEXT_ONLY' SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::TextIter(3pm)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy