Search Results

Search: Posts Made By: asakhare
5,582
Posted By asakhare
moving files with spaces in filename from one directory to another
Hello,

When I run following script

#!/bin/bash

cd ~/directory1

mv `ls -trF | grep -v / | tail -10 ` ~/directory2

works fine with filenames not having any space but runs into issues...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy