Sponsored Content
Full Discussion: Move to different folder
Top Forums Shell Programming and Scripting Move to different folder Post 302466809 by durden_tyler on Wednesday 27th of October 2010 11:04:24 AM
Old 10-27-2010
Quote:
Originally Posted by magesh_bala
...
Project|SourceFolder|SourceFile|TargetFolder|TargetFile

the above is my Record in a file I have to read the record and...
Post the output of the following command -

Code:
sed -n Np your_file | od -bc

where N is the line number of the offending record and your_file is the name of your file.

tyler_durden
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to move recursively into one folder

Hi, I have a folder with a million subdirectories which all have a million files in them (some of them duplicates).. I am looking for the right program command to move all of the files out of the directories and into one folder-- and replace all of the duplicates.. If anyone has any ideas,... (2 Replies)
Discussion started by: patrick99e99
2 Replies

2. Shell Programming and Scripting

Move the file from one folder to another folder

Hi, I have a requirement to move a file from one folder(a) to another folder(b) only when folder (b) have a write permission. Folder permission is 755 If the permission is otherthan 755 we need to come out of the loop I will appreciate your help Thanks Soll (1 Reply)
Discussion started by: sollins
1 Replies

3. Shell Programming and Scripting

File Management: How do I move all JPGS in a folder structure to a single folder?

This is the file structure: DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg DESKTOP/Root of Photo... (4 Replies)
Discussion started by: guptaxpn
4 Replies

4. Shell Programming and Scripting

Folder to Folder move

Hi, I need a little help with this one; Let's say I have two directories /dir1/dir2/dir3old and /dir1/dir2/dir3new Within dir3old and dir3new are many folders, each containing some files. How can I search all the sub folders in dir3old for files of a specific date and move the files to the... (1 Reply)
Discussion started by: bbbngowc
1 Replies

5. Shell Programming and Scripting

want to move set of file from one folder to another folder

Hi all, let me explain my requirments i am having 5 folder with different name for eg) abc , cdf , efd, rtg, ead each 5 folders contain 15 files i want to move 10 files to some other folder, remain 5 files should be there in the same folder. give me some suggestion on this. (6 Replies)
Discussion started by: natraj005
6 Replies

6. Shell Programming and Scripting

Script to move one folder to multiple folder...

Hi All, I have to requirement to write a shell script to move file from one folder (A) to another five folder (B,C,D,E,F) and destination folder should be blank. In not blank just skip. This script will run as a scheduler every 2 minutes. It will check number of files in folder A and move 1 to... (9 Replies)
Discussion started by: peekuabc
9 Replies

7. Shell Programming and Scripting

Move files from Space Folder to other folder

I want to move a folder with spaces from one folder to another. I have two folders like this, 1).RT_032-222 -4444-01/ 2). RT_032-555 -7777-01/ I want to move files from 2 to 1 through shell script.Here I want to assign this like a user defined variable like as Source branch... (2 Replies)
Discussion started by: kannansoft1985
2 Replies

8. UNIX for Dummies Questions & Answers

Move to New Timestamp Folder

Hi All, I have a cron job that has worked wonders: zip /home/myHostedFolder/public_html/images/_backups/front/$(date +\%Y\%m\%d).zip /home/myHostedFolder/public_html/images/front/* && rm /home/myHostedFolder/public_html/images/front/* But now work, needs me to modify it. Should be easy but... (5 Replies)
Discussion started by: MrDude
5 Replies

9. UNIX for Beginners Questions & Answers

Best way to move the contents of a folder to another one

what is the best way to move the contents of a folder to another one without deleting the structure of the first one. the contents could include subfolder too. both folder, the source-folder and the target-folder are on the same host. any idea is appreciated . (7 Replies)
Discussion started by: andy2000
7 Replies

10. Shell Programming and Scripting

Request for Shell script to move files from Subfolder to Parent folder and delete sub folder

Hi Team, I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder. Eg: parent folder --> /Interface/data/test/IN Sub folder -->/Interface/data/test/IN/Invoice20180607233338 Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
VBINDIFF(1)						       Christopher J. Madsen						       VBINDIFF(1)

NAME
vbindiff - hexadecimal file display and comparison SYNOPSIS
vbindiff file1 [ file2 ] DESCRIPTION
Visual Binary Diff (VBinDiff) displays files in hexadecimal and ASCII (or EBCDIC). It can also display two files at once, and highlight the differences between them. Unlike diff, it works well with large files (up to 4 GB). Viewing files Movement Keys ------------- Up Move one line (16 bytes) towards the beginning of the file Down Move one line (16 bytes) towards the end of the file Left Move one byte towards the beginning of the file Right Move one byte towards the end of the file PageUp Move one page towards the beginning of the file PageDn Move one page towards the end of the file Home Move to the beginning of the file End Move to the end of the (shorter) file F Search for a string or byte sequence G Move to a specified file position When displaying two files, both files move together. If bytes have been added or removed in one of the files, you can adjust the compari- son by moving just one of the files. To move only the top file, press "T". To move only the bottom file, press "B". To return to moving both files, press the same key again. (The window at the bottom of the screen will indicate when you are moving only one file.) Other Keys ---------- Enter Move to the next difference between the files Space (same as Enter) C Toggle between ASCII and EBCDIC display E Edit currently displayed section of file Esc Exit VBinDiff Q Exit VBinDiff The "Enter" key will advance to the next difference between the files (after those already displayed on the screen). If there are no more differences, it moves to the end. Line editor The line editor is used to enter search strings and file positions. It uses the basic Emacs-style editing keys. Keys ----------------- Ctrl-B, Left Move the cursor one character left Ctrl-F, Right Move the cursor one character right Ctrl-A, Home Move to the beginning of the line Ctrl-E, End Move to the end of the line Ctrl-P, Up Move up in input history Ctrl-N, Down Move down in input history Ctrl-H, Backspace Delete the character to the left Ctrl-D, Delete Delete the character under the cursor Ctrl-K Delete from cursor to end of line Insert Toggle between insert & overstrike mode Enter Finished entering text Esc Abort the operation Editing files You can press "E" to edit the current file. When displaying two files, this edits the one in the top window, unless you are in "move bot- tom" mode. When editing, you can move the cursor around with the arrow keys. Use TAB to switch between entering hexadecimal or ASCII (or EBCDIC) characters. Press the Esc key when you are done. You will be given the choice to save or discard your changes then. If you are displaying two files, you can use the Enter key to copy a byte from the other file into the one you are editing. You cannot scroll through the file while editing, although you can save your changes and then move to a different part of the file. Also, you cannot insert or delete bytes, only change them. OPTIONS
-L, --license Display license information for vbindiff -V, --version Display the version number --help Display help information BUGS
Does not work properly with files over 4 gigabytes. It should be able to view the first 4 gigabytes ok, but the display only has room for 8 hex digits of file position, and the Goto box is also limited to 8 digits. LICENSE
VBinDiff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. VBinDiff is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with VBinDiff (see the file COPYING); if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. AUTHOR
Christopher J. Madsen <vbindiff .at. cjmweb.net> <http://www.cjmweb.net/vbindiff/> VBinDiff 3.0_beta3 2008-06-25 VBINDIFF(1)
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy