05-06-2015
F22:
dnf info rename shows nothing.
man rename, shows the same though
Where the heck did that come from?
I'm 120% sure that
rename was one of the first commands i've tried in the shell, and (in 2011) it showed "command not found"...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I hope someone can help me with this problem :
I have a directory (/var/www/file/imgprofil) which contains about 10000 JPG files. They have a naming convention thus :
prefix-date-key-suffix.jpg
they all have the prefix p-20050608-
then AAAA is a 4 letter code
the suffix is... (7 Replies)
Discussion started by: steve7
7 Replies
2. UNIX for Dummies Questions & Answers
Hi there,
I have a folder full of pdf's and I've run a compression on the to reduce the size, the output of the compress places a '-o' in the name of the file.
Before 12345.pdf
After 12345-o.pdf
Now I've got around 50000 files that I need to change back to the previous name, is... (3 Replies)
Discussion started by: KeesH
3 Replies
3. Shell Programming and Scripting
Hi Guys,
I need a help. I have 1130 zip files. Each one of them has files including 1 html file with long file name (includes special charactors, Alphabetic and numbers).
I have copied all 1130 zip files to my linux system and extracted using below command.
Find . -name "*.zip" -exec... (7 Replies)
Discussion started by: Rajmani
7 Replies
4. Shell Programming and Scripting
Hello,
I have some files in a directory like:
01_07_2010_aa.txt
01_07_2010_bb.txt
01_07_2010_cc.txt
01_07_2010_dd.txt
01_07_2010_ee.txt
01_07_2010_ff.txt
I want to change their names to :
3nm_aa.txt
3nm_bb.txt
3nm_cc.txt
3nm_dd.txt
3nm_ee.txt
3nm_ff.txt (8 Replies)
Discussion started by: ad23
8 Replies
5. Shell Programming and Scripting
I hope some one can help me
I have multiple files in a directory with out extension like as below mentioned. But i want to change all the file names along .DDMMYYYYHHMISS format. And all files should have same DDMMYYYYHHMISS.
Scenario:
direcory name = /vol/best/srcfiles
files in a... (4 Replies)
Discussion started by: hari001
4 Replies
6. Shell Programming and Scripting
Hi is it possible to change multiple files (~10k) names with out disturbing the data in it. ?
input
Hynda|cgr10(+):100027702-1000312480|.txt
Hynda|cgr10(+):100027702-1000312483|.txt
Hynda|cgr10(+):100027702-1000312484|.txt
Hynda|cgr10(+):100027702-1000312482|.txt
output... (4 Replies)
Discussion started by: quincyjones
4 Replies
7. UNIX for Dummies Questions & Answers
hi im new to linux and was just wondering if some 1 could help me
i have folders with T.V. series in them and i would like to delete part of the filename
e.g.
(series name).s01e01.(episode name)
(series name).s01e02.(episode name)
(series name).s01e03.(episode name)
(series... (4 Replies)
Discussion started by: stevemcd1990
4 Replies
8. Shell Programming and Scripting
I've been googling for days but can't find a solution to this problem.
I have a number of sets of files on a server
file02.dat
.
.
file12.dat
/.../fred(1 to n)/bill(1 to m)/tony/joe/
in any "fred" branch there will be one or more "bill"s
some joe/'s may not have a fileset and... (4 Replies)
Discussion started by: Sabreur
4 Replies
9. Shell Programming and Scripting
What am I missing?
find: 0652-009 There is a missing conjunction
find: 0652-009 There is a missing conjunction
find: 0652-009 There is a missing conjunction
find: 0652-009 There is a missing conjunction
find: 0652-009 There is a missing conjunction
find: 0652-009 There is a missing... (3 Replies)
Discussion started by: xgringo
3 Replies
10. Shell Programming and Scripting
HI Guys,
I have some 8 files with different name and extensions. I need to check if they are present in a specific folder or not and also want that script to show me which all are not present. I can write if condition for each file but from a developer perspective , i feel that is not a good... (3 Replies)
Discussion started by: shankarpanda003
3 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)