Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Move all files with pattern in filename Post 302749627 by pasc on Friday 28th of December 2012 06:10:49 PM
Old 12-28-2012
So essentially what you are saying is:

The thing I want to do is not possible under windows alone without cygwin ?

Meh too bad.

Thanks anyways.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to move files into different folders based on filename

I need to move a bunch of files into folders that have the same name. I wanted to either do this with some filter command or some type of batch file that I could save that would already include all of the mv commands since I will have to do this process often. Whatever method you think is easier. ... (7 Replies)
Discussion started by: italia5
7 Replies

2. Shell Programming and Scripting

Script to move files based on Pattern don't work

Hi people, i need you help on this if you can. I have a script that does the move command when it searches for a that doesn't match the pattern. This Pattern is on a list. When it run's and doesn´t found no files but it haves 2 more folders it moves the folders too. Ex:... (1 Reply)
Discussion started by: osramos
1 Replies

3. UNIX for Dummies Questions & Answers

want to move files in a dir into different directories based on the filename

I want to move the files in a dir to different dirs based on their file names. Ex: i have 4 different files with name - CTS_NONE_10476031_MRL_PFT20081215a.txt CTS_NONE_10633009_MRL_PFT20091020a.txt CTS_NONE_10345673_MRL_PFT20081215a.txt CTS_NONE_10872456_MRL_PFT20091020a.txt and the 1st... (2 Replies)
Discussion started by: Sriranga
2 Replies

4. Shell Programming and Scripting

want to move files in a dir into different directories based on the filename

I want to move the files in a dir to different dirs based on their file names. Ex: i have 4 different files with name - CTS_NONE_10476031_MRL_PFT20081215a.txt CTS_NONE_10633009_MRL_PFT20091020a.txt CTS_NONE_10345673_MRL_PFT20081215a.txt CTS_NONE_10872456_MRL_PFT20091020a.txt and the 1st... (4 Replies)
Discussion started by: Sriranga
4 Replies

5. Shell Programming and Scripting

Move file based on filename

Hi All I need a script to manipulate files based on a filename: example filename: 66600_042706.pdf the script will create a directory 66000 only if this directory is not existing. If that directory is existing it will just move the file to 66000/666000_042706.pdf in addition, i want to... (4 Replies)
Discussion started by: aemestech
4 Replies

6. Shell Programming and Scripting

Move files based on date in filename

I know this gets covered quite a bit in the forum and I think there is enough there for me to figure out how to do what I am trying to do, I just don't think I would do it very efficiently so I am going to ask the question... I have database log files with date and time stamps in the file like ... (7 Replies)
Discussion started by: slatoms
7 Replies

7. UNIX for Dummies Questions & Answers

move files according to dated filename

hi, i am new to linux and stuck to moving files according to filename. i have PDF files, named like 20110131_125023.pdf (YYYYMMDD_HHMMSS.pdf) i want to move those files to the subfolders YYYY/MM/ on monthly basis. thanks for any help... (2 Replies)
Discussion started by: igmox
2 Replies

8. Shell Programming and Scripting

Move all files from source to destination directory based on the filename

Move all files starting with a specific name to different directory. This shell script program should have three parameters File Name Source Directory Destination Directory User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
Discussion started by: chetancrsp18
1 Replies

9. Shell Programming and Scripting

Delete files based on specific MMDDYYYY pattern in filename

Hi Unix gurus, I am trying to remove the filenames based on MMDDYYYY in the physical name as such so that the directory always has the recent 3 files based on MMDDYYYY. "HHMM" is just dummy in this case. You wont have two files with different HHMM on the same day. For example in a... (4 Replies)
Discussion started by: shankar1dada
4 Replies
ddi_dma_numwin(9F)					   Kernel Functions for Drivers 					ddi_dma_numwin(9F)

NAME
ddi_dma_numwin - retrieve number of DMA windows SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_numwin(ddi_dma_handle_t handle, uint_t *nwinp); PARAMETERS
handle The DMA handle previously allocated by a call to ddi_dma_alloc_handle(9F). nwinp Upon a successful return, nwinp will contain the number of DMA windows for this object. INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). DESCRIPTION
ddi_dma_numwin() returns the number of DMA windows for a DMA object if partial resource allocation was permitted. RETURN VALUES
ddi_dma_numwin() returns: DDI_SUCCESS Successfully filled in the number of DMA windows. DDI_FAILURE DMA windows are not activated. CONTEXT
ddi_dma_numwin() can be called from user, kernel, or interrupt context. SEE ALSO
ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_unbind_handle(9F) Writing Device Drivers SunOS 5.10 29 Sep 1994 ddi_dma_numwin(9F)
All times are GMT -4. The time now is 04:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy