Hi All,
I want to Rename/Convert all the .doc files in to .pdf format.
I am using the following Script. But the final output is not proper.
##########################################
cd /u13/prepaid/ftpdata/INfiles/sap/
for name in `ls *.doc`
do
name1=`echo $name | sed -e... (11 Replies)
Hey Guys....
Just need some help as I am not proficient in Unix shell script...
Doubt:
---------------
Suppose there will be some of the following files inside a directory called OUT ...
Path: - /appdb1/product/batch/rms/OUT
files inside OUT directory:-
POSU_75002_20090127_20090129035442... (4 Replies)
Hi, i need a bit of help writting a tcsh script which renames all ascii text files in the current directory by adding a number to their names before the extension
so for example, a directory containing the files
Hello.txt
Hello.t
Hello
should have the following changes,
Hello.txt... (2 Replies)
Hello~
I'm on AIX version 5 and I believe I have the tcsh shell environment to play in. Can you guys help me with a solution to rename all files that have "eclp" in the filename to "ecl" ? I basically want to rename the files and strip the "p" out.
i.e. original filenames:
... (3 Replies)
Hi!
I need help to create a shell script to search inside a file and then copy a portion of the search result as the new file name.
Basically I was hacked over the weekend and the genius wipe out my drive from my server. I was able to recover alot of files, but biggest problem Is now the... (15 Replies)
Hello,
I am having 1800 files in a directory with a specified format, like
amms_850o_prod.000003uNy
amms_850o_prod.000003u8x
amms_850o_prod.000003taP
amms_850o_prod.000003tKy
amms_850o_prod.000003si4
amms_850o_prod.000003sTP
amms_850o_prod.000003sBg
amms_850o_prod.000003rvx... (12 Replies)
hi people;
i want to make a file/folder operation as follows.
- i have 41 folders in Windows and each of them have same-named files (~200 files each) inside.
- i want to stack these files together in a folder but Windows is asking to "overwrite" (as usual) since the file names are the same.... (2 Replies)
Hi, I'm trying to create a shell script that shows a report of each real user of the system showing for each user the list of files that is in $home and its subdirectories (sorted by hour of modification), clasified by file type, and finally showing the total size and number of files in that... (1 Reply)
Hi,
I want to rename several files like this:
example:
A0805120817.BHN
A0805120818.BHN
.....
to:
20120817.0805.N
20120818.0805.N
......
How can i do this via terminal or in shell bash script ?
thanks, (6 Replies)
#!/bin/sh
sqlplus -s "/ as sysdba" << EOF
SET HEADING OFF
SET FEEDBACK OFF
Select
pt.user_concurrent_program_name , OUTFILE_NAME
FROm
apps.fnd_concurrent_programs_tl pt,
apps.fnd_concurrent_requests f
where
pt.concurrent_program_id = f.concurrent_program_id
and pt.application_id =... (1 Reply)
Discussion started by: usman_oracle
1 Replies
LEARN ABOUT CENTOS
vfs_crossrename
VFS_CROSSRENAME(8) System Administration tools VFS_CROSSRENAME(8)NAME
vfs_crossrename - server side rename files across filesystem boundaries
SYNOPSIS
vfs objects = crossrename
DESCRIPTION
This VFS module is part of the samba(7) suite.
The vfs_crossrename VFS module allows server side rename operations even if source and target are on different physical devices. A "move"
in Explorer is usually a rename operation if it is inside of a single share or device. Usually such a rename operation returns
NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by manual copy and delete operations. If the rename by copy is done by the
server this can be much more efficient. vfs_crossrename tries to do this server-side cross-device rename operation.
There are however limitations that this module currently does not solve:
The ACLs of files are not preserved,
meta data in EAs are not preserved,
renames of whole subdirectories cannot be done recursively, in that case we still return STATUS_NOT_SAME_DEVICE and let the client
decide what to do,
rename operations of huge files can cause hangs on the client because clients expect a rename operation to return fast.
This module is stackable.
OPTIONS
crossrename:sizelimit = BYTES
server-side cross-device-renames are only done for files if the filesize is not larger than the defined size in MiB to prevent
timeouts. The default sizelimit is 20 (MiB)
EXAMPLES
To add server-side cross-device renames inside of a share for all files sized up to 50MB:
[testshare]
path = /data/mounts
vfs objects = crossrename
crossrename:sizelimit = 50
VERSION
This man page is correct for version 4.0.0 of the Samba suite.
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
Samba 4.0 06/17/2014 VFS_CROSSRENAME(8)