02-17-2014
it is not applicable for my application as multiple user create a same file and wich file u go and change everytime..i need to move of partivular user
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have following directory structure
Media (Inside media directory I have two folders namely videos and images)
-->videos
-->images
Inside media directory I have some video files with extension .mp4 and images with extension of .jpg and .jpeg
I want to write a cron job which will... (3 Replies)
Discussion started by: tusharkale
3 Replies
2. Shell Programming and Scripting
Move a file from windows directory to unix directory, is this possible?
if it is, can someone help me on this?
Thanks! God bless! (1 Reply)
Discussion started by: kingpeejay
1 Replies
3. Shell Programming and Scripting
I Need help for one requirement,
I want to move the latest/Older file in the folder to another file. File have the datetimestamp in postfix.
Example:
Source Directory : \a
destination Directory : \a\b
File1 : xy_MMDDYYYYHHMM.txt (xy_032120101456.txt)
File2: xy_MMDDYYYYHHMM.txt... (1 Reply)
Discussion started by: pp_ayyanar
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
im a new guy if it comes to Unix. I am trying to auto categorize Nzbget downloads the most basic way. I already manage to find files within the directory i'm at and move them with if check to a certain dir. Unfortunately this command is restricted to the directory i'm at and does not... (2 Replies)
Discussion started by: RoxXxoR
2 Replies
5. UNIX for Dummies Questions & Answers
my script is:
/u/user/orginal/:#! /bin/ksh
find . -name "aur_prog*" -exec grep -il "error" > test.out
#awk command to destination directory
exit
test.out file contain:
./aur_prog1.log
./aur_prog2.log
... (5 Replies)
Discussion started by: roughwal
5 Replies
6. Shell Programming and Scripting
Hi
In directory /mnt/upload I have about 100 000 files (*.png) that have been created during the last six months. Now I need to move them to right folders. eg:
file created on 2014-10-10 move to directory /mnt/upload/20141010
file created on 2014-11-11 move to directory /mnt/upload/20141111... (6 Replies)
Discussion started by: primo102
6 Replies
7. Shell Programming and Scripting
I have this situation
/u03/app/banjobs> ls -ltr icg*
82 Jun 12 10:37 iicgorldi_2419186.log
56810484 Jun 17 10:35 icgorldi_2421592.xml
2859 Jun 17 10:35 icgorldi_2421592.lis
- 125 Jun 17 10:35 icgorldi_2421592.log
82 Jun 12 10:37 iicgorldi_2419187.log
... (8 Replies)
Discussion started by: Bernardo Jarami
8 Replies
8. Shell Programming and Scripting
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Discussion started by: digioleg54
9 Replies
9. Shell Programming and Scripting
Dears,
I have a listfile contains list of files path.
i need to read the line of the listfile
mv the file to other directory
and update the listfile by deleting the lines of the listfile.
#!/bin/bash
target=/fstest/INVESTIG/Sadiq/TEST_ARCH
while read -r line || ];
do
mv $line... (19 Replies)
Discussion started by: sadique.manzar
19 Replies
10. Shell Programming and Scripting
The below bash executes but nothing is copied. I am trying to cp or mv the matching .pdf to the corresponding folder. There will always be a matching .pdf found but the number of folders may vary. The portion in red is what is used to match the .pdf--- variable $pdf to the folder--- variable... (11 Replies)
Discussion started by: cmccabe
11 Replies
LEARN ABOUT MOJAVE
swaplist
swaplist(n) A dialog which allows a user to move options between two lists swaplist(n)
__________________________________________________________________________________________________________________________________________________
NAME
swaplist - A dialog which allows a user to move options between two lists
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require swaplist ?0.1?
::swaplist::swaplist pathName variable completeList selectedList ?options?
_________________________________________________________________
DESCRIPTION
This package provides a dialog which consists of 2 listboxes, along with buttons to move items between them and reorder the right list.
::swaplist::swaplist pathName variable completeList selectedList ?options?
Creates a dialog which presents the user with a pair of listboxes. Items are selected by using the buttons to move them to the right
list. The contents of the right list are put in the variable upon closure of the dialog. The command returns a boolean indicating
if the user pressed OK or not. If -geometry is not specified, the dialog is centered in its parent toplevel unless its parent is .
in which case the dialog is centered in the screen.
Options:
-embed if this flag is supplied, the procedure will create a swaplist widget named pathName, with the variable set as the listvari-
able for the right side listbox. This flag will also cause the -title and -geometry flags to be ignored.
-reorder
boolean specifying if buttons allowing the user to change the order of the right listbox should appear or not. defaults to
true
-title sets the title of the dialog window. defaults to "Configuration"
-llabel
sets the heading above the left list. defaults to "Available:"
-rlabel
sets the heading above the right list. defaults to "Selected:"
-lbuttontext
sets the text on the "move left" button. defaults to "<<"
-rbuttontext
sets the text on the "move right" button. defaults to ">>"
-ubuttontext
sets the text on the "move up" button. defaults to "Move Up"
-dbuttontext
sets the text on the "move down" button. defaults to "Move Down"
-geometry
sets the geometry of the dialog window.
EXAMPLE
package require swaplist
namespace import swaplist::*
if {[swaplist .slist opts "1 2 3 4 5 6 7 8 9" "1 3 5"]} {
puts "user chose numbers: $ops"
}
KEYWORDS
dialog, disjointlistbox, listbox
swaplist 0.1 swaplist(n)