General :: Move Content Of Folder Moving To Public_html?

Mar 25, 2011

i want to move all files inside the folder moving to folder public_html which command i should use? m using centos5 64bit tell me full command which i should writer in ssh client..so my all files will be moved to public_html...from moving folder.

View 4 Replies


ADVERTISEMENT

General :: Real Moving Of A Folder's Content To Another Folder?

Feb 7, 2011

Is there a Commend to move the content of a folder -only image files no subfolders- to another destination folder?Actully, I had a look on the following post:Post tilte:Using mv to move the content of one directory into anotherFrom it, I tried that:

Code:
# rsync -a SOURCE/ DEST/
But, it copy a folder as all to the distination.

[code]...

View 10 Replies View Related

General :: Procedure For Moving Fs Content?

Jul 4, 2011

What to remember when moving content of a file system to another file system ?Is there some kind of procedure for this operation

View 14 Replies View Related

General :: Use Wget To Move Content From One Directory To Another?

Sep 21, 2010

I am new to linux and wget...what would be the syntax to use wget to move content from one local directory to an svn repository (svn commit)? For instance if i have a directory c:\dir1, and i want to move it's content onto an SVN repo...is this possible using wget? If so, how do I get this done?

View 2 Replies View Related

Ubuntu :: Deleted A Php File Under My Public_html Folder / Get It Back?

Mar 5, 2010

I accidentally deleted a php file under my public_html folder. Is there a way I can get it back?

I typed: sudo rm contacts.php

View 2 Replies View Related

General :: Command Line - Move Folder Contents Into Parent Folder

Jun 11, 2010

I have a folderA that contains folderB that contains a lot of files. I would like to get rid of folderB, but not its contents. I want those contents to be inside of folderA. How can I accomplish this on the commandline?

View 2 Replies View Related

General :: Ubuntu Symbolic Link Content Of Folder

Jun 24, 2010

I have two folders such as
nonserved/
folder1/
folder2/

And a served folder via Apache
media/
js/
css/
img/

In the end, I want to include/append contents of /nonserved to /media so that [URL] will be as such:
/media
/js
/css
/img
/folder1
/folder2

I am running Ubuntu Server, I am up for either apache config or symbolic link based answer :) Plus nonserved folder is rather dynamic thus manual symbolic linking to each folder is impossible.

View 1 Replies View Related

General :: Download Folder X And All Of Its Content From The Remote System?

Jan 12, 2010

How do I (through command line) download folder X and all of its content from the remote system to my local system?

View 7 Replies View Related

General :: Recovering Data - Doesn't Allow To View The Content Of The Folder /home/myself

Jun 29, 2010

I needed to install a new OS on a new HD but i also need the data on the old HD which has some problems (it doesn't boot anymore). The problem is that in the old one i had linux (Slackware) and so it doesn't allow me to view the content of the folder /home/myself. If there was something possible to do to recover all the data or if it will be forever lost.

View 1 Replies View Related

General :: Moving Symlinks Into A Folder Based On Id3 Tags?

Apr 3, 2010

I'm trying to get my music folder into something sensible. Right now, I have all my music stored in /home/foo so I have all of the albums soft linked to ~/music. I want the structure to be ~/music/<artist>/<album> I've got all of the symlinks into ~/music right now so I just need to get the symlinks into the proper structure. I'm trying to do this by delving into the symlinked album, getting the artist name with id3info. I can do this, but I can't seem to get it to work correctly.

for i in $( find -L $i -name "*.mp3" -printf "%h
")
do
echo "$i" #testing purposes

[code]....

I'm trying to mv The Trance Mix 3 Wanderlust - DJ Exortius [TRANCE DEEP VOCAL TECH]@ into the real directory DJ Exortius. DJ Exortius already exists, so it's just a matter of moving it into the correct directory that's based on the id3 tag of the mp3 inside.

PS: I've tried easytag, but when I restructure the album, it moves it from /home/foo which is not what I want.

View 2 Replies View Related

General :: Write A Shell Script Which Can Ready Content Of The Folder And Place Files On Remote FTP Server?

May 9, 2011

I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.

View 7 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

General :: Move A Folder From One Partition To Another?

Mar 12, 2010

Anyways, I recently got into the whole HTPC scene, and picked up an Acer Revo for my self, with a media center OS (XBMC) that was apparently modded from Ubuntu. Keep in mind that I can only use the terminal for any of this, as the GUI is just for video settings, etc.

So, XBMC just totally crashed on me, and the GUI stopped working. The files were still there, I just couldn't watch them. After many hours of tinkering, I decided to just reinstall XBMC, but make two partitions, and then move my movies and stuff to the new, working partition, and afterwards, delete the old, non working one.

I just don't know how to move from one partition to another.

So, can someone explain, in absolute layman terms, how to move my "Movies" folder from my first partition, to the New one?

View 4 Replies View Related

General :: Move Files In A Folder If It Is Not In Use?

Jun 24, 2011

In my bash script I need to move files in a folder if it is not in use.

Code:
for entry in `ls /root/shared_storage/input`; do
echo $entry
run=`lsof /root/shared_storage/input/$entry`
ru=${run:0:5}
echo $entry
if [ "$ru" == "" ]; then
........
It worked fine sometimes but sometimes it just get stuck at lsof. Is there any other way that I can use here to check if the $entry is using some other process?

View 10 Replies View Related

Server :: Move File System Content Between 2 Disks?

Oct 14, 2010

I have to move all the files and directories between 2 file systems. Is it good practice to move them at once or first copy them and then move ? How to do this to preserve the permissions and directory structure ?

View 3 Replies View Related

Ubuntu :: Kde 4.5 - Move A File Or Folder Into Another Folder, All The Icons Arrange Back To The Left Side

Sep 14, 2010

When I position icons on the desktop in specific places, then I choose to move a file or folder into another folder, all the icons arrange back to the left side. This happened in an earlier version of KDE 4.x, disappeared the next version, and reappeared. how to keep this from happening. It makes using the desktop a pain in the you know what.

View 2 Replies View Related

General :: Create A Softlink To Move Some Library Folder?

Dec 2, 2010

I'm running out of disk space in root, so I decide to move /usr/lib64 directory to other partition by creating moving the whole directory to new location and create a softlink in the old location. What I'm planning to do is:

1. Copy the whole directory to new location

2. Make sure if there's no problem in the copy process

3. Create a softlink in the old location pointing to the new location.

However, when I'm comparing the old location and the new location using du command, there's some discrepancies between those two where the new location contain bigger size than the old one. How is this possible?

Is this the proper way to save disk space by creating a softlink?

View 5 Replies View Related

General :: Move Unwanted Messages From Mailq To Different Folder?

Apr 8, 2010

I m using sendmail. I have two queries regrding mailq

1) How i can move unwanted mails from mailq to diffrent folder?

2) How i can remove those mails from the mailq ?

View 3 Replies View Related

General :: Script That Will Move All 30 Days Old Files In A Folder?

Jan 22, 2010

I`m totally new to linux, in fact I`m a windows adminscenario:I need to run a script that will automatically move 30 days old files from particular folder to a particular folder.

View 3 Replies View Related

General :: Move File And Folder Date Stamps?

May 7, 2010

I wrote this little script and I need some help, I am trying to achieve following:Every day I receive new file in the /home/denis/MyData/ folder and I don't know what the file mane will be but I want to move any file that arrives there to the new location /media/DataBackup/Linux/backup/ (media/DataBackup/ is external 500GB USB drive)to automatically create new folder with the date and time stamp every day and then to move content of the /home/denis/MyData/ into the new folder with current date stamp. So every day there will be new folder and will contain files for that day only.My script is as follows:

cd /media/DataBackup/Linux/backup/
mkdir MyData_$(date +%Y%b%d_%HH%MM)
#this creates file MyData_current date and time

[code]...

View 3 Replies View Related

General :: Move Font Files (.ttf And .otf) From The Download Folder

Jul 15, 2010

I'm trying to move font files (.ttf and .otf) from the download folder to a folder Inkscape can find them in. I tried dragging and dropping them in Dolphin but I don't have permission! So tried in the terminal:

Code:
~$ mv ~/downloads/fonts/*.*tf /usr/share/fonts
mv: cannot stat `/home/bryan/downloads/fonts/*.*tf': No such file or directory

As far as I can tell the directories exist.

View 14 Replies View Related

Debian :: Create Folder From Filename And Move File Into Folder

Feb 13, 2011

this is posable but am trying to do this "Create folder from a filename and move the file into the folder" i have 500000+ file's i need to do with is there a easy way?I really don't want to download them all make/move them with filemonkey just to re-upload them

View 2 Replies View Related

General :: Move And Expand GNU / System Ubuntu Maverick Folder?

Feb 24, 2011

I installed Ubuntu Maverick as a file within Windows XP. A folder was created called Ubuntu and two files called wubildr and wubildr.mbr appeared on my C-Drive. The Windows boot.ini file looks like this code...

The initial 8 GB I gave to Ubuntu is too small and I would like to move the file to my D-Drive and expand it to 40 GB.

I would hate to have to begin again from scratch. Is this possible? If so, how?

View 3 Replies View Related

General :: Move Folders That Contain A File With A Specific Extension To A Destination Folder?

Oct 3, 2010

Many years ago, I converted a portion of my files to an arbitrary format with a specific extension. i no longer desire to have them in this format and i would like begin the process of replacing them because conversion is not an appropriate solution. unfortunately, they are mixed in separate folders of the same root folder with files in my current format of a different extension. I feel it would make this process easier if I were to move every folder that contained a file with the undesired format to a separate root folder. The files are stored on a Linux server and shared via samba. How can I do this with a couple of commands or a script? I am open to other suggestions as well. I want to avoid time spent editing text files. Ultimately, I'd like a command that produced a list of full paths for folders, sorted by the number of levels would be a nice touch. A list of all of the files is clearly not what I'm looking for.

View 2 Replies View Related

General :: Write A Script To Move Specific Files In Various Folders To One Folder?

Nov 16, 2010

Terribly new to Linux and find it mindboggling. I work on brain imaging and unfortunately all of the analysis runs on Linux, and I do not understand computers well coming as I do from a medical background. So my question - There are various folders of patient MRI scans (folders called P1, P2, P3 etc) and within them are enclosed certain files that I am interested in (always called the same name in all folders, say image001). I would like a script that enables me to copy and move this image001 in all these individual folders to another folder altogether.

View 13 Replies View Related

Ubuntu :: Move A Window Around On Desktop Its Splited Up Rather Than Moving Around Sm?

Nov 16, 2010

when i move a window around on my desktop its splited up into two where the bottom half sluggishly follows the top half i.e. the top half of the window is leading as i move the window around the desktop rather than moving around smoothly(i.e. moving the say vlc around without the window splitting[moving it around as one]. this issue also persist in fire fox where when i scroll down a web page, the page is split in two where one half of the webpage overlaps the other dependant whether i scroll up or down.

my computers configuration is:
64bt UBUntu 10.04
MSI 870A FUZION......
AMD phenom II x6
ATI HD 4550(XFX)

[Code]...

View 4 Replies View Related

Ubuntu :: Move The Scripts From Folder To Folder

Apr 29, 2011

I found a script that runs any commands from a dropbox folder. It seems to take the scripts i have from the remote folder to the output folder to the old folder. but it never seems to actually run the scripts. it just seems to move the scripts from folder to folder Here is the page of what I'm talking about. [URL]

View 6 Replies View Related

General :: Find Will Go Through The Content Of Tarball As Well And List All Content

Oct 5, 2010

I am using find to search for .tgz files modified more than 7 days ago and delete them.find /directory/ -iname backup*.tgz -daystart -mtime +7 -exec rm -rf {} My problem is that find will go through the content of tarball as well and list all content. I want to only search main tarball and delete it if older than 7 days.

View 4 Replies View Related

General :: Dividing Content Of One File By Content Of Another?

Apr 12, 2011

If you have the value 100 in File1 and the value 5 in File2, how do you write a script to divide the 100 in File1 by the 5 in File2 in Linux Bash Shell?The operating system I am using is Ubuntu 10 and object is to write a script to accomplish this task.

View 5 Replies View Related

Fedora :: F14 Desktop Folder Gone / Get Content Back?

Apr 2, 2011

I was dragging and dropping content from a folder onto the user desktop folder when suddenly instead of the packed Desktop Folder I got the Home folder with the few normal files that were in it AND one file called Desktop.

(actually, the file name was "Escritorio" and it was a PDF file, and in $HOME/.config/ the file user-dirs.dirs was changed to say XDG_DESKTOP_DIR="$HOME/" instead of XDG_DESKTOP_DIR="$HOME/Escritorio")

I've searched around but only found how to recreate a folder calles "Desktop" (or "Escritorio") and have it act like such, but not how to eventually recover the original "Desktop" folder AND ALL ITS CONTENTS (quite a lot!)

Is there any way to get the content back?

Fedora is 64bit Fedora 14
Gnome is 2.32
Nautilus is 2.32.2.1

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved