Thanks for your reply. This is what I am seeing in the error log,
Looks like it read all the files that end with *.txt. Also, doesnt seem to move the files to the destination directory.
I suspect the below code part is causing the issue,
Last edited by Scrutinizer; 06-21-2012 at 02:47 PM..
Reason: code tags + code tags instead of quote tags
Howdy,
I'm trying to figure out how to move multiple files based on their creation date. If anyone can enlighten me it would be most appreciated!!
Thanks!
:D (1 Reply)
Can any one help me to correct following script.
I have 2 directories DropZone and ProcessZone. File pattern is *VEHDESCSUM*.
Finding the 'no of files' in DropZone directory using ls *VEHDESCSUM* |wc -l
If DropZone has more than one file or 0 files then exit 1
If DropZone has one file then... (2 Replies)
I need to build a k shell script that will sort files in a directory where files appear like this "XXXX_2008021213.DAT. I need to sort by date in the filename and then move files by individual date to a working folder. concatenate the files in the working folder then start a process once... (2 Replies)
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
hi all,
here is the description to my problem.
input parameters: $date1 & $date2
based on the range i need to select the archived files from the archived directory and moved them in to working directory.
can u please help me in writing the code to select the multiple files based on the... (3 Replies)
Hi,
How can I move directories (and all sub directories/files) from one directory to another based on the modified date of the directory?
Currently the existing structure looks like this:
/public_html/media/videos/tmb/34947/image1.jpg
/public_html/media/videos/tmb/34947/image2.jpg
... (0 Replies)
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Hi,
I need a script that moves files based on date to a folder. The folder should be created based on file date. Example is :
Date file name
----- --------
Oct 08 07:39 10112012_073952.xls
Oct 09 07:39 10112012_073952.xls
Oct 10 07:39 ... (6 Replies)
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Hi All,
I've been trying to do some recursive searching but not been very successful. Can someone please help.
Scenario:
I have directory structure
/dir1/dir2/dir3/
2019/
11/
17
18
19
20
so what I want to do is run a script and as its 2019/11/18/ today it would go and only search... (3 Replies)
Discussion started by: israr75
3 Replies
LEARN ABOUT DEBIAN
xfm
XFM(5) XFM XFM(5)NAME
xfm - file format for application window contents of xfm
DESCRIPTION
Xfm - the X file and application manager - has its own format to save the content of the application window, which is described in this
file.
FORMAT
One entry per line. Lines starting with a hash (#) and empty lines are ignored. Each line consists out of six fields, separated by colons
(:). Backslashes and colons within those fields have to be escaped using backslashes.
FIELDS
Label
The label printed below the icon in the application window is the first part.
Directory
Directory The second part is the directory the specified action is executed in. An empty string is treated as the $HOME-directory, which
is also substituted for a leading tilde followed by a slash (~/).
If this line has the special drop_action LOAD, this is not the directory, but the next xfm file to display.
empty compatibility field
This field is only here for compatibility reasons. It has to be empty.
icon
The 4th field is the icon to show. Unless this field is empty, xfm will search in the pixmapPath and the bitmapPath for this file and use
it as icon for this item. The icon has to be in XBM or in the XPM format.
push action
This field (the 5th) contains the action to execute when the specified field is double-clicked or otherwise activated. Unless it is one of
the special commands listed below, it is given as a whole to the shell. Any parts encapsulated in percent signs (%) are substituted with
user input. Default values can be specified with two hyphens (--) within the token.
The special commands are:
LOAD The directory field is interpreted as filename of a xfm file which replaces the current contents of the application window. If the
directory is the special value XFM-DEVICES, the content of the application window are generated out of the information of the
xfm_dev(5) file instead.
OPEN The directory specified in the directory field is opened in a new file window.
EDIT filename
Start the default editor with the specified filename.
drop action
This field (the 6th) contains the action to execute if some files are dragged from the file window and dropped into this item. The command
is given to a shell, and the files are given as arguments.
EXAMPLES
Start a xterm with $HOME-directory as current directory. The icon is xterm.xpm. Nothing can be dragged here.
Xterm:::xterm.xpm:exec term:
Open the special menu for showing mountable devices:
Devices:XFM-DEVICES:::LOAD:
Open a file window with the home directory:
Home::::OPEN:
Open /floppy in a new file window:
Diskettenlaufwerk:/floppy::dev_floppy.xpm:OPEN:
Execute an xterm with a user specified command:
execute::::xterm -e %command--watch date%:
Grab a screenshot when pushed, show drag&dropped images with xli:
picture::::import `date +\%Y\%m\%d\%M\%H\%S.png`:xli "$@"
Process dropped files with transfig:
transfig:::app.xpm::transfig -L %Language:--eepic% "$@"
FILES
$HOME/.xfm/Apps
Unless otherwise specified in the X resources, this is the file opened when Xfm starts.
/etc/X11/xfm/Apps
Unless otherwise specified in the X resources, this file is opened when the previous one fails.
SEE ALSO xfm(1), xfm_dev(5), xfmtype(1), xbm(5), xpm(5).
xfm 20 April, 2006 XFM(5)